Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp23 if (!IndexCtx.shouldIndex(D)) return true; \
37 IndexingContext &IndexCtx; member in __anonf10645d10111::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 __anonb20dd8150111::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 __anon05ca7ad80111::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 __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()
143 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr()
148 return IndexCtx.handleReference(S->getLabel(), S->getLabelLoc(), Parent, in VisitGotoStmt()
153 if (IndexCtx.shouldIndexFunctionLocalSymbols()) in VisitLabelStmt()
154 return IndexCtx.handleDecl(S->getDecl()); in VisitLabelStmt()
164 return IndexCtx.handleReference(E->getMemberDecl(), Loc, in VisitMemberExpr()
196 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles, in indexDependentReference()
[all …]