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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp20 const DeclContext *ParentDC; member in class:__anon648::TypeIndexer
29 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) {
51 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC,
61 ParentDC, SymbolRoleSet(), Relations);
65 Parent, ParentDC, SymbolRoleSet()));
67 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC,
73 Parent, ParentDC, SymbolRoleSet(),
103 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
119 Parent, ParentDC, SymbolRoleSet(),
125 Parent, ParentDC, SymbolRoleSe
[all...]
H A DIndexBody.cpp21 const DeclContext *ParentDC; member in class:__anon646::BodyIndexer
32 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { }
48 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
53 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
130 if (auto *FD = dyn_cast<FunctionDecl>(ParentDC))
132 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC))
140 Parent, ParentDC, Roles, Relations, E);
150 Parent, ParentDC, Roles, Relations, E);
181 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles,
204 ParentDC, SymbolRoleSe
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp5642 DeclContext *ParentDC = D->getDeclContext(); local
5644 // parameters (p below) can have their ParentDC set to the translation-unit
5645 // - thus we can not consistently check if the ParentDC of such a parameter
5648 // find an instantiated decl for (T y) when the ParentDC for y is
5654 // it gets here, always has a FunctionOrMethod as its ParentDC??
5659 if (isa<ParmVarDecl>(D) && !ParentDC->isDependentContext() &&
5664 ((ParentDC->isFunctionOrMethod() ||
5665 isa<OMPDeclareReductionDecl>(ParentDC) ||
5666 isa<OMPDeclareMapperDecl>(ParentDC)) &&
5667 ParentDC
[all...]
H A DSemaDecl.cpp7401 for (DeclContext *ParentDC = NewDC;
7402 ParentDC && !ParentDC->Equals(OldDC);
7403 ParentDC = getLambdaAwareParentOfDeclContext(ParentDC)) {
7406 if (!isa<BlockDecl>(ParentDC) && !isa<CapturedDecl>(ParentDC) &&
7407 !isLambdaCallOperator(ParentDC)) {
H A DSemaExpr.cpp16209 DeclContext *ParentDC = getParentOfCapturingContextOrNull(DC, Var, local
16216 if (!ParentDC) {
16330 DC = ParentDC;

Completed in 242 milliseconds