Home
last modified time | relevance | path

Searched refs:ParentDC (Results 1 – 4 of 4) sorted by relevance

/external/clang/tools/libclang/
DIndexBody.cpp21 const DeclContext *ParentDC; member in __anona7f6b70d0111::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()
72 IndexCtx.indexTypeSourceInfo(Cls, Parent, ParentDC); in VisitObjCMessageExpr()
76 Parent, ParentDC, E, in VisitObjCMessageExpr()
[all …]
DIndexTypeSourceInfo.cpp21 const DeclContext *ParentDC; member in __anon1f4a5e9e0111::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/
DSemaTemplateInstantiateDecl.cpp3442 DeclContext *ParentDC = D->getDeclContext(); in FindInstantiatedDecl() local
3445 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl()
3526 if (!ParentDC->isDependentContext()) in FindInstantiatedDecl()
3529 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs); in FindInstantiatedDecl()
3530 if (!ParentDC) in FindInstantiatedDecl()
3533 if (ParentDC != D->getDeclContext()) { in FindInstantiatedDecl()
3541 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) { in FindInstantiatedDecl()
3552 ParentDC = Tag->getDecl(); in FindInstantiatedDecl()
3558 DeclContext::lookup_result Found = ParentDC->lookup(D->getDeclName()); in FindInstantiatedDecl()
3570 ParentDC->decls_begin(), in FindInstantiatedDecl()
[all …]
DSemaExpr.cpp10812 DeclContext *ParentDC; in tryCaptureVariable() local
10814 ParentDC = DC->getParent(); in tryCaptureVariable()
10818 ParentDC = DC->getParent()->getParent(); in tryCaptureVariable()
10914 DC = ParentDC; in tryCaptureVariable()