Searched refs:ParentDC (Results 1 – 4 of 4) sorted by relevance
/external/clang/tools/libclang/ |
D | IndexBody.cpp | 21 const DeclContext *ParentDC; member in __anon79587ee70111::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 __anon7fc33ef80111::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 | 4356 DeclContext *ParentDC = D->getDeclContext(); in FindInstantiatedDecl() local 4373 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() && in FindInstantiatedDecl() 4378 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl() 4482 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl() 4485 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs); in FindInstantiatedDecl() 4486 if (!ParentDC) in FindInstantiatedDecl() 4489 if (ParentDC != D->getDeclContext()) { in FindInstantiatedDecl() 4497 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) { in FindInstantiatedDecl() 4508 ParentDC = Tag->getDecl(); in FindInstantiatedDecl() 4514 DeclContext::lookup_result Found = ParentDC->lookup(D->getDeclName()); in FindInstantiatedDecl() [all …]
|
D | SemaExpr.cpp | 12814 DeclContext *ParentDC = getParentOfCapturingContextOrNull(DC, Var, in tryCaptureVariable() local 12821 if (!ParentDC) { in tryCaptureVariable() 13007 DC = ParentDC; in tryCaptureVariable()
|