Searched refs:ParentDC (Results 1 – 4 of 4) sorted by relevance
/external/clang/tools/libclang/ |
D | IndexBody.cpp | 21 const DeclContext *ParentDC; member in __anon870250330111::BodyIndexer 27 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer() 32 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc() 37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 43 Parent, ParentDC, E); in VisitDeclRefExpr() 49 Parent, ParentDC, E); in VisitMemberExpr() 59 Parent, ParentDC, E); in VisitDesignatedInitExpr() 66 Parent, ParentDC, E); in VisitObjCIvarRefExpr() 73 Parent, ParentDC, E, in VisitObjCMessageExpr() 82 Parent, ParentDC, E); in VisitObjCPropertyRefExpr() [all …]
|
D | IndexTypeSourceInfo.cpp | 21 const DeclContext *ParentDC; member in __anonbc2c1f440111::TypeIndexer 26 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC) { } in TypeIndexer() 32 Parent, ParentDC); in VisitTypedefTypeLoc() 37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 55 Parent, ParentDC); in VisitTagTypeLoc() 61 Parent, ParentDC); in VisitObjCInterfaceTypeLoc() 68 Parent, ParentDC); in VisitObjCObjectTypeLoc() 78 Parent, ParentDC); in VisitTemplateSpecializationTypeLoc() 82 Parent, ParentDC); in VisitTemplateSpecializationTypeLoc() 89 IndexCtx.indexBody(S, Parent, ParentDC); in TraverseStmt()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 4409 DeclContext *ParentDC = D->getDeclContext(); in FindInstantiatedDecl() local 4426 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() && in FindInstantiatedDecl() 4431 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl() 4559 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl() 4562 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs); in FindInstantiatedDecl() 4563 if (!ParentDC) in FindInstantiatedDecl() 4566 if (ParentDC != D->getDeclContext()) { in FindInstantiatedDecl() 4574 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) { in FindInstantiatedDecl() 4585 ParentDC = Tag->getDecl(); in FindInstantiatedDecl() 4591 DeclContext::lookup_result Found = ParentDC->lookup(D->getDeclName()); in FindInstantiatedDecl() [all …]
|
D | SemaExpr.cpp | 13054 DeclContext *ParentDC = getParentOfCapturingContextOrNull(DC, Var, in tryCaptureVariable() local 13061 if (!ParentDC) { in tryCaptureVariable() 13270 DC = ParentDC; in tryCaptureVariable()
|