Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp21 const DeclContext *ParentDC; member in __anon713f68f00111::TypeIndexer
30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in TypeIndexer()
52 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC, in VisitTemplateTypeParmTypeLoc()
62 ParentDC, SymbolRoleSet(), Relations); in VisitTypedefTypeLoc()
66 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc()
68 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC, in VisitTypedefTypeLoc()
74 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc()
104 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
120 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc()
126 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitObjCInterfaceTypeLoc()
[all …]
DIndexBody.cpp21 const DeclContext *ParentDC; member in __anond5a152df0111::BodyIndexer
32 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
48 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
53 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
130 if (auto *FD = dyn_cast<FunctionDecl>(ParentDC)) in addCallRole()
132 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole()
140 Parent, ParentDC, Roles, Relations, E); in VisitDeclRefExpr()
150 Parent, ParentDC, Roles, Relations, E); in VisitMemberExpr()
181 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles, in indexDependentReference()
204 ParentDC, SymbolRoleSet(), {}, E); in VisitDesignatedInitExpr()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp5987 DeclContext *ParentDC = D->getDeclContext(); in FindInstantiatedDecl() local
5991 ParentDC, TemplateArgs.getNumRetainedOuterLevels()); in FindInstantiatedDecl()
6013 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() || in FindInstantiatedDecl()
6014 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
6015 isa<OMPDeclareMapperDecl>(ParentDC))) || in FindInstantiatedDecl()
6172 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs); in FindInstantiatedDecl()
6173 if (!ParentDC) in FindInstantiatedDecl()
6176 if (ParentDC != D->getDeclContext()) { in FindInstantiatedDecl()
6184 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) { in FindInstantiatedDecl()
6195 ParentDC = Tag->getDecl(); in FindInstantiatedDecl()
[all …]
DSemaDecl.cpp7741 for (DeclContext *ParentDC = NewDC; in CheckShadow() local
7742 ParentDC && !ParentDC->Equals(OldDC); in CheckShadow()
7743 ParentDC = getLambdaAwareParentOfDeclContext(ParentDC)) { in CheckShadow()
7746 if (!isa<BlockDecl>(ParentDC) && !isa<CapturedDecl>(ParentDC) && in CheckShadow()
7747 !isLambdaCallOperator(ParentDC)) { in CheckShadow()
DSemaExpr.cpp17881 DeclContext *ParentDC = getParentOfCapturingContextOrNull(DC, Var, in tryCaptureVariable() local
17888 if (!ParentDC) { in tryCaptureVariable()
18017 DC = ParentDC; in tryCaptureVariable()