Searched refs:IndexCtx (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 33 IndexingContext &IndexCtx; member in __anon18b6cf850111::IndexingDeclVisitor 37 : IndexCtx(indexCtx) { } in IndexingDeclVisitor() 110 IndexCtx.handleDecl(Parm); in handleDeclarator() 442 IndexCtx.handleDecl(Class); in VisitObjCImplementationDecl() 451 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl() 456 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl() 463 if (!IndexCtx.shouldIndex(D)) in VisitObjCCategoryDecl() 494 IndexCtx.indexDeclContext(D); in VisitObjCCategoryImplDecl() 579 IndexCtx.indexDeclContext(D); in VisitNamespaceDecl() 592 IndexCtx.handleDecl(D); in VisitUsingDecl() [all …]
|
| H A D | IndexingAction.cpp | 27 std::shared_ptr<IndexingContext> IndexCtx; member in __anon5e5c92490111::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 D | IndexTypeSourceInfo.cpp | 19 IndexingContext &IndexCtx; member in __anoneba9b58c0111::TypeIndexer 52 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC, in VisitTemplateTypeParmTypeLoc() 61 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc() 65 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc() 73 TRY_TO(IndexCtx.handleReference(ND, Loc, in VisitTypedefTypeLoc() 104 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 110 if (!IndexCtx.shouldIndexFunctionLocalSymbols() && in VisitTagTypeLoc() 115 IndexCtx.indexTagDecl(D); in VisitTagTypeLoc() 119 return IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc() 145 IndexCtx.shouldIndexImplicitInstantiation())) { in HandleTemplateSpecializationTypeLoc() [all …]
|
| H A D | IndexBody.cpp | 19 IndexingContext &IndexCtx; member in __anon4539ec7b0111::BodyIndexer 32 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer() 48 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc() 53 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 139 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr() 149 return IndexCtx.handleReference(E->getMemberDecl(), Loc, in VisitMemberExpr() 369 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitDeclStmt() 370 IndexCtx.indexDeclGroupRef(S->getDeclGroup()); in VisitDeclStmt() 380 IndexCtx.indexTopLevelDecl(D); in VisitDeclStmt() 459 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in VisitParmVarDecl() [all …]
|