Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexDecl.cpp23 if (!IndexCtx.shouldIndex(D)) return true; \
37 IndexingContext &IndexCtx; member in __anon518304e80111::IndexingDeclVisitor
41 : IndexCtx(indexCtx) { } in IndexingDeclVisitor()
56 IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC); in handleTemplateArgumentLoc()
59 IndexCtx.indexTypeSourceInfo(LocInfo.getAsTypeSourceInfo(), Parent, DC); in handleTemplateArgumentLoc()
63 IndexCtx.indexNestedNameSpecifierLoc(TALoc.getTemplateQualifierLoc(), in handleTemplateArgumentLoc()
69 IndexCtx.handleReference(TTD, TALoc.getTemplateNameLoc(), Parent, DC); in handleTemplateArgumentLoc()
93 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent, in handleDeclarator()
96 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent); in handleDeclarator()
101 IndexCtx.indexBody(Parm->getDefaultArg(), Parent); in handleDeclarator()
[all …]
H A DIndexingAction.cpp27 std::shared_ptr<IndexingContext> IndexCtx; member in __anon7f009d8c0111::IndexPPCallbacks
30 IndexPPCallbacks(std::shared_ptr<IndexingContext> IndexCtx) in IndexPPCallbacks() argument
31 : IndexCtx(std::move(IndexCtx)) {} in IndexPPCallbacks()
35 IndexCtx->handleMacroReference(*MacroNameTok.getIdentifierInfo(), in MacroExpands()
41 IndexCtx->handleMacroDefined(*MacroNameTok.getIdentifierInfo(), in MacroDefined()
50 IndexCtx->handleMacroUndefined(*MacroNameTok.getIdentifierInfo(), in MacroUndefined()
60 IndexCtx->handleMacroReference(*MacroNameTok.getIdentifierInfo(), in Defined()
68 IndexCtx->handleMacroReference(*MacroNameTok.getIdentifierInfo(), in Ifdef()
76 IndexCtx->handleMacroReference(*MacroNameTok.getIdentifierInfo(), in Ifndef()
87 IndexCtx->handleMacroReference(*MacroNameTok.getIdentifierInfo(), in Elifdef()
[all …]
H A DIndexTypeSourceInfo.cpp22 IndexingContext &IndexCtx; member in __anon57d642af0111::TypeIndexer
33 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in 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()
71 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC, in VisitTypedefTypeLoc()
76 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc()
85 return IndexCtx.handleReference(C, TL.getConceptNameLoc(), Parent, in VisitAutoTypeLoc()
114 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
120 if (!IndexCtx.shouldIndexFunctionLocalSymbols() && in VisitTagTypeLoc()
[all …]
H A DIndexBody.cpp23 IndexingContext &IndexCtx; member in __anon7e0621de0111::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()
185 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles, in indexDependentReference()
207 return IndexCtx.handleReference(D.getField(), D.getFieldLoc(), Parent, in VisitDesignatedInitExpr()
216 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitObjCIvarRefExpr()
286 return IndexCtx.handleReference(MD, E->getSelectorStartLoc(), in VisitObjCMessageExpr()
[all …]
/openbsd-src/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()