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

/openbsd-current/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp24 const DeclContext *ParentDC; member in class:__anon682::TypeIndexer
33 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) {
55 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC,
65 ParentDC, SymbolRoleSet(), Relations);
69 Parent, ParentDC, SymbolRoleSet()));
71 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC,
77 Parent, ParentDC, SymbolRoleSet(),
86 ParentDC);
114 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
130 Parent, ParentDC, SymbolRoleSe
[all...]
H A DIndexBody.cpp25 const DeclContext *ParentDC; member in class:__anon680::BodyIndexer
36 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { }
52 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
57 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
134 if (auto *FD = dyn_cast<FunctionDecl>(ParentDC))
136 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC))
144 Parent, ParentDC, Roles, Relations, E);
154 Parent, ParentDC, Roles, Relations, E);
185 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles,
208 ParentDC, SymbolRoleSe
[all...]
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp6027 DeclContext *ParentDC = D->getDeclContext(); local
6031 ParentDC, TemplateArgs.getNumRetainedOuterLevels());
6033 // parameters (p below) can have their ParentDC set to the translation-unit
6034 // - thus we can not consistently check if the ParentDC of such a parameter
6037 // find an instantiated decl for (T y) when the ParentDC for y is
6043 // it gets here, always has a FunctionOrMethod as its ParentDC??
6053 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() ||
6054 isa<OMPDeclareReductionDecl>(ParentDC) ||
6055 isa<OMPDeclareMapperDecl>(ParentDC))) ||
6215 ParentDC
[all...]
H A DSemaDecl.cpp8240 for (DeclContext *ParentDC = NewDC;
8241 ParentDC && !ParentDC->Equals(OldDC);
8242 ParentDC = getLambdaAwareParentOfDeclContext(ParentDC)) {
8245 if (!isa<BlockDecl>(ParentDC) && !isa<CapturedDecl>(ParentDC) &&
8246 !isLambdaCallOperator(ParentDC)) {
H A DSemaExpr.cpp19107 DeclContext *ParentDC = getParentOfCapturingContextOrNull(DC, Var, local
19114 if (!ParentDC) {
19243 DC = ParentDC;
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DASTImporter.cpp3264 /// - True, found a declaration inside \c ParentDC.
3265 /// - False, found declarations only outside \c ParentDC and it is not possible
3267 /// - Empty optional value, found no declarations or only outside \c ParentDC,
3276 IsTypeDeclaredInsideVisitor(const FunctionDecl *ParentDC) argument
3277 : ParentDC(ParentDC) {}
3286 T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3291 DsT = T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3301 return isAncestorDeclContextOf(ParentDC, T->getDecl());
3315 return isAncestorDeclContextOf(ParentDC, T
3358 const DeclContext *const ParentDC; member in class:__anon275::IsTypeDeclaredInsideVisitor
[all...]

Completed in 178 milliseconds