Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp37 IndexingContext &IndexCtx; member in __anon619dd0870111::IndexingDeclVisitor
41 : IndexCtx(indexCtx) { } in IndexingDeclVisitor()
457 IndexCtx.handleDecl(Class); in VisitObjCImplementationDecl()
466 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl()
471 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl()
478 if (!IndexCtx.shouldIndex(D)) in VisitObjCCategoryDecl()
509 IndexCtx.indexDeclContext(D); in VisitObjCCategoryImplDecl()
607 IndexCtx.handleDecl(D); in VisitUsingDecl()
673 IndexCtx.indexTagDecl( in VisitClassTemplateSpecializationDecl()
700 IndexCtx.handleDecl(TP); in indexTemplateParameters()
[all …]
H A DIndexingAction.cpp27 std::shared_ptr<IndexingContext> IndexCtx; member in __anona976848b0111::IndexPPCallbacks
31 : IndexCtx(std::move(IndexCtx)) {} in IndexPPCallbacks()
122 IndexCtx->setASTContext(Context); in Initialize()
129 return IndexCtx->indexDeclGroupRef(DG); in HandleTopLevelDecl()
137 IndexCtx->indexDeclGroupRef(DG); in HandleTopLevelDeclInObjCContainer()
203 return IndexCtx.indexTopLevelDecl(D); in topLevelDeclVisitor()
269 indexTranslationUnit(Unit, IndexCtx); in indexASTUnit()
278 IndexCtx.setASTContext(Ctx); in indexTopLevelDecls()
286 IndexCtx.indexTopLevelDecl(D); in indexTopLevelDecls()
301 IndexCtx.setASTContext(Ctx); in indexModuleFile()
[all …]
H A DIndexTypeSourceInfo.cpp22 IndexingContext &IndexCtx; member in __anon28bf610e0111::TypeIndexer
55 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC, in VisitTemplateTypeParmTypeLoc()
64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
68 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc()
76 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc()
114 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
120 if (!IndexCtx.shouldIndexFunctionLocalSymbols() && in VisitTagTypeLoc()
125 IndexCtx.indexTagDecl(D); in VisitTagTypeLoc()
129 return IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
155 IndexCtx.shouldIndexImplicitInstantiation())) { in HandleTemplateSpecializationTypeLoc()
[all …]
H A DIndexBody.cpp23 IndexingContext &IndexCtx; member in __anon8e20ed7d0111::BodyIndexer
36 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
52 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
153 if (IndexCtx.shouldIndexFunctionLocalSymbols()) in VisitLabelStmt()
154 return IndexCtx.handleDecl(S->getDecl()); in VisitLabelStmt()
164 return IndexCtx.handleReference(E->getMemberDecl(), Loc, in VisitMemberExpr()
387 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitDeclStmt()
388 IndexCtx.indexDeclGroupRef(S->getDeclGroup()); in VisitDeclStmt()
398 IndexCtx.indexTopLevelDecl(D); in VisitDeclStmt()
480 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitParmVarDecl()
[all …]