Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexDecl.cpp37 IndexingContext &IndexCtx; member in __anon73bf2ede0111::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 __anon481371420111::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 __anon752fd8250111::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 __anona0424bd40111::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()
143 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr()
153 return IndexCtx.handleReference(E->getMemberDecl(), Loc, in VisitMemberExpr()
373 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitDeclStmt()
374 IndexCtx.indexDeclGroupRef(S->getDeclGroup()); in VisitDeclStmt()
384 IndexCtx.indexTopLevelDecl(D); in VisitDeclStmt()
463 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitParmVarDecl()
[all …]
/openbsd/gnu/llvm/clang/tools/libclang/
H A DIndexing.cpp829 return Container->IndexCtx->getClientContainerForDC(Container->DC); in clang_index_getClientContainer()
837 Container->IndexCtx->addContainerInMap(Container->DC, client); in clang_index_setClientContainer()
844 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
852 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
H A DCXIndexDataConsumer.h50 CXIndexDataConsumer *IndexCtx; member
62 CXIndexDataConsumer *IndexCtx; member
H A DCXIndexDataConsumer.cpp1158 EntityInfo.IndexCtx = this; in getEntityInfo()
1204 ContInfo.IndexCtx = this; in getContainerInfo()