Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp33 IndexingContext &IndexCtx; member in __anon1910dc200111::IndexingDeclVisitor
37 : IndexCtx(indexCtx) { } in IndexingDeclVisitor()
103 IndexCtx.handleDecl(Parm); in handleDeclarator()
108 IndexCtx.handleDecl(PI); in handleDeclarator()
432 IndexCtx.handleDecl(Class); in VisitObjCImplementationDecl()
441 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl()
446 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl()
453 if (!IndexCtx.shouldIndex(D)) in VisitObjCCategoryDecl()
484 IndexCtx.indexDeclContext(D); in VisitObjCCategoryImplDecl()
571 IndexCtx.indexDeclContext(D); in VisitNamespaceDecl()
[all …]
H A DIndexingAction.cpp55 : PP(std::move(PP)), IndexCtx(std::move(IndexCtx)) {} in IndexASTConsumer()
59 IndexCtx->setASTContext(Context); in Initialize()
65 return IndexCtx->indexDeclGroupRef(DG); in HandleTopLevelDecl()
73 IndexCtx->indexDeclGroupRef(DG); in HandleTopLevelDeclInObjCContainer()
85 : IndexCtx(std::move(IndexCtx)) {} in IndexPPCallbacks()
212 return IndexCtx.indexTopLevelDecl(D); in topLevelDeclVisitor()
238 indexTranslationUnit(Unit, IndexCtx); in indexASTUnit()
247 IndexCtx.setASTContext(Ctx); in indexTopLevelDecls()
255 IndexCtx.indexTopLevelDecl(D); in indexTopLevelDecls()
270 IndexCtx.setASTContext(Ctx); in indexModuleFile()
[all …]
H A DIndexTypeSourceInfo.cpp19 IndexingContext &IndexCtx; member in __anonbc247fe70111::TypeIndexer
54 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
58 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc()
66 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc()
97 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
103 if (!IndexCtx.shouldIndexFunctionLocalSymbols() && in VisitTagTypeLoc()
108 IndexCtx.indexTagDecl(D); in VisitTagTypeLoc()
112 return IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
133 if (IndexCtx.shouldIndexImplicitInstantiation()) { in HandleTemplateSpecializationTypeLoc()
135 IndexCtx.handleReference(RD, TL.getTemplateNameLoc(), in HandleTemplateSpecializationTypeLoc()
[all …]
H A DIndexBody.cpp20 IndexingContext &IndexCtx; member in __anon4593f9160111::BodyIndexer
33 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
49 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
54 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
140 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr()
150 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()
461 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitParmVarDecl()
[all …]