Searched refs:CurDC (Results 1 – 6 of 6) sorted by relevance
303 const DeclContext *CurDC = Contexts[I-1]; in getParentName() local304 if (const ObjCCategoryImplDecl *CatImpl = dyn_cast<ObjCCategoryImplDecl>(CurDC)) in getParentName()305 CurDC = CatImpl->getCategoryDecl(); in getParentName()307 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()318 OS << cast<NamedDecl>(CurDC)->getName(); in getParentName()
881 DeclContext *CurDC = CurSemaContext; in adjustCVQualifiersForCXXThisWithinLambda() local904 CurDC = getLambdaAwareParentOfDeclContext(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()921 if (isLambdaCallOperator(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()924 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()944 CXXRecordDecl *Closure = cast<CXXRecordDecl>(CurDC->getParent()); in adjustCVQualifiersForCXXThisWithinLambda()
394 const DeclContext *CurDC = Contexts[I - 1]; in getParentName() local395 if (const auto *CatImpl = dyn_cast<ObjCCategoryImplDecl>(CurDC)) in getParentName()396 CurDC = CatImpl->getCategoryDecl(); in getParentName()398 if (const auto *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) { in getParentName()409 OS << cast<NamedDecl>(CurDC)->getName(); in getParentName()
1064 DeclContext *CurDC = CurSemaContext; in adjustCVQualifiersForCXXThisWithinLambda() local1106 CurDC = getLambdaAwareParentOfDeclContext(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()1124 if (isLambdaCallOperator(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()1132 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()1152 CXXRecordDecl *Closure = cast<CXXRecordDecl>(CurDC->getParent()); in adjustCVQualifiersForCXXThisWithinLambda()
330 DeclContext *CurDC = nullptr; in visitDeclsFromFileRegion() local337 if (isInLexicalContext(D, CurDC)) in visitDeclsFromFileRegion()340 CurDC = dyn_cast<DeclContext>(D); in visitDeclsFromFileRegion()
343 DeclContext *CurDC = nullptr; in visitDeclsFromFileRegion() local350 if (isInLexicalContext(D, CurDC)) in visitDeclsFromFileRegion()353 CurDC = dyn_cast<DeclContext>(D); in visitDeclsFromFileRegion()