Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp24 const DeclContext *ParentDC; member in __anon05ca7ad80111::TypeIndexer
33 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in TypeIndexer()
55 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC, in VisitTemplateTypeParmTypeLoc()
65 ParentDC, SymbolRoleSet(), Relations); in VisitTypedefTypeLoc()
69 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc()
71 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC, in VisitTypedefTypeLoc()
77 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc()
86 ParentDC); in VisitAutoTypeLoc()
114 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
130 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc()
[all …]
H A DIndexBody.cpp25 const DeclContext *ParentDC; member in __anon1d8962c70111::BodyIndexer
36 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
52 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
57 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
134 if (auto *FD = dyn_cast<FunctionDecl>(ParentDC)) in addCallRole()
136 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole()
144 Parent, ParentDC, Roles, Relations, E); in VisitDeclRefExpr()
149 ParentDC); in VisitGotoStmt()
165 Parent, ParentDC, Roles, Relations, E); in VisitMemberExpr()
196 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles, in indexDependentReference()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp6081 DeclContext *ParentDC = D->getDeclContext(); in FindInstantiatedDecl() local
6085 ParentDC, TemplateArgs.getNumRetainedOuterLevels()); in FindInstantiatedDecl()
6107 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() || in FindInstantiatedDecl()
6108 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
6109 isa<OMPDeclareMapperDecl>(ParentDC))) || in FindInstantiatedDecl()
6284 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs); in FindInstantiatedDecl()
6285 if (!ParentDC) in FindInstantiatedDecl()
6288 if (ParentDC != D->getDeclContext()) { in FindInstantiatedDecl()
6296 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) { in FindInstantiatedDecl()
6307 ParentDC = Tag->getDecl(); in FindInstantiatedDecl()
[all …]
H A DSemaDecl.cpp8247 for (DeclContext *ParentDC = NewDC; in CheckShadow() local
8248 ParentDC && !ParentDC->Equals(OldDC); in CheckShadow()
8249 ParentDC = getLambdaAwareParentOfDeclContext(ParentDC)) { in CheckShadow()
8252 if (!isa<BlockDecl>(ParentDC) && !isa<CapturedDecl>(ParentDC) && in CheckShadow()
8253 !isLambdaCallOperator(ParentDC)) { in CheckShadow()
H A DSemaExpr.cpp18780 DeclContext *ParentDC = in tryCaptureVariable() local
18788 if (!ParentDC) { in tryCaptureVariable()
18935 DC = ParentDC; in tryCaptureVariable()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp3532 IsTypeDeclaredInsideVisitor(const FunctionDecl *ParentDC) in IsTypeDeclaredInsideVisitor() argument
3533 : ParentDC(ParentDC) {} in IsTypeDeclaredInsideVisitor()
3542 T.getSingleStepDesugaredType(ParentDC->getParentASTContext()); in CheckType()
3547 DsT = T.getSingleStepDesugaredType(ParentDC->getParentASTContext()); in CheckType()
3557 return isAncestorDeclContextOf(ParentDC, T->getDecl()); in VisitTagType()
3571 return isAncestorDeclContextOf(ParentDC, TD); in VisitTypedefType()
3576 isAncestorDeclContextOf(ParentDC, T->getFoundDecl())) in VisitUsingType()
3594 if (isAncestorDeclContextOf(ParentDC, T->getAssociatedDecl())) in VisitSubstTemplateTypeParmType()
3600 if (T->getSizeExpr() && isAncestorDeclContextOf(ParentDC, T->getSizeExpr())) in VisitConstantArrayType()
3622 const DeclContext *const ParentDC; member in __anone38d232b0411::IsTypeDeclaredInsideVisitor
[all …]