Home
last modified time | relevance | path

Searched refs:CurDC (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp303 const DeclContext *CurDC = Contexts[I-1]; in getParentName() local
304 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()
DSemaExprCXX.cpp881 DeclContext *CurDC = CurSemaContext; in adjustCVQualifiersForCXXThisWithinLambda() local
904 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()
/external/llvm-project/clang/lib/Sema/
DCodeCompleteConsumer.cpp394 const DeclContext *CurDC = Contexts[I - 1]; in getParentName() local
395 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()
DSemaExprCXX.cpp1064 DeclContext *CurDC = CurSemaContext; in adjustCVQualifiersForCXXThisWithinLambda() local
1106 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()
/external/clang/tools/libclang/
DCIndex.cpp330 DeclContext *CurDC = nullptr; in visitDeclsFromFileRegion() local
337 if (isInLexicalContext(D, CurDC)) in visitDeclsFromFileRegion()
340 CurDC = dyn_cast<DeclContext>(D); in visitDeclsFromFileRegion()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp343 DeclContext *CurDC = nullptr; in visitDeclsFromFileRegion() local
350 if (isInLexicalContext(D, CurDC)) in visitDeclsFromFileRegion()
353 CurDC = dyn_cast<DeclContext>(D); in visitDeclsFromFileRegion()