Searched refs:ParentDC (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Index/ |
D | IndexBody.cpp | 21 const DeclContext *ParentDC; member in __anon9451a0e80111::BodyIndexer 28 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer() 44 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc() 49 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 126 if (auto *FD = dyn_cast<FunctionDecl>(ParentDC)) in addCallRole() 128 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() 136 Parent, ParentDC, Roles, Relations, E); in VisitDeclRefExpr() 146 Parent, ParentDC, Roles, Relations, E); in VisitMemberExpr() 153 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr() 162 Parent, ParentDC, Roles, Relations, E); in VisitObjCIvarRefExpr() [all …]
|
D | IndexTypeSourceInfo.cpp | 21 const DeclContext *ParentDC; member in __anon3b6b96390111::TypeIndexer 30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in TypeIndexer() 41 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc() 75 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 90 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc() 96 Parent, ParentDC, SymbolRoleSet()); in VisitObjCInterfaceTypeLoc() 102 Parent, ParentDC, SymbolRoleSet()); in VisitObjCObjectTypeLoc() 112 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitTemplateSpecializationTypeLoc() 116 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitTemplateSpecializationTypeLoc() 123 IndexCtx.indexBody(S, Parent, ParentDC); in TraverseStmt()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 4619 DeclContext *ParentDC = D->getDeclContext(); in FindInstantiatedDecl() local 4636 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() && in FindInstantiatedDecl() 4641 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl() 4769 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl() 4772 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs); in FindInstantiatedDecl() 4773 if (!ParentDC) in FindInstantiatedDecl() 4776 if (ParentDC != D->getDeclContext()) { in FindInstantiatedDecl() 4784 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) { in FindInstantiatedDecl() 4795 ParentDC = Tag->getDecl(); in FindInstantiatedDecl() 4801 DeclContext::lookup_result Found = ParentDC->lookup(D->getDeclName()); in FindInstantiatedDecl() [all …]
|
D | SemaExpr.cpp | 13602 DeclContext *ParentDC = getParentOfCapturingContextOrNull(DC, Var, in tryCaptureVariable() local 13609 if (!ParentDC) { in tryCaptureVariable() 13706 DC = ParentDC; in tryCaptureVariable()
|