Searched refs:CurDC (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp303 const DeclContext *CurDC = Contexts[I-1]; local
304 if (const ObjCCategoryImplDecl *CatImpl = dyn_cast<ObjCCategoryImplDecl>(CurDC))
305 CurDC = CatImpl->getCategoryDecl();
307 if (const ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) {
318 OS << cast<NamedDecl>(CurDC)->getName();
H A DSemaExprCXX.cpp881 DeclContext *CurDC = CurSemaContext; local
904 CurDC = getLambdaAwareParentOfDeclContext(CurDC)) {
919 // We've run out of ScopeInfos but check if CurDC is a lambda (which can
921 if (isLambdaCallOperator(CurDC)) {
924 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator));
944 CXXRecordDecl *Closure = cast<CXXRecordDecl>(CurDC->getParent());
/external/clang/tools/libclang/
H A DCIndex.cpp330 DeclContext *CurDC = nullptr; local
337 if (isInLexicalContext(D, CurDC))
340 CurDC = dyn_cast<DeclContext>(D);

Completed in 170 milliseconds