/external/clang/lib/Index/ |
D | IndexDecl.cpp | 26 IndexingContext &IndexCtx; member in __anonf4a1d4b30111::IndexingDeclVisitor 30 : IndexCtx(indexCtx) { } in IndexingDeclVisitor() 52 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent); in handleDeclarator() 53 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent); in handleDeclarator() 54 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in handleDeclarator() 61 IndexCtx.handleDecl(Parm); in handleDeclarator() 64 IndexCtx.handleDecl(Parm); in handleDeclarator() 66 IndexCtx.handleDecl(Parm); in handleDeclarator() 71 IndexCtx.handleDecl(PI); in handleDeclarator() 79 if (!IndexCtx.handleDecl(D, (unsigned)SymbolRole::Dynamic)) in handleObjCMethod() [all …]
|
D | IndexingAction.cpp | 44 IndexingContext &IndexCtx; member in __anon7a4004370111::IndexASTConsumer 47 IndexASTConsumer(IndexingContext &IndexCtx) in IndexASTConsumer() argument 48 : IndexCtx(IndexCtx) {} in IndexASTConsumer() 52 IndexCtx.setASTContext(Context); in Initialize() 53 IndexCtx.getDataConsumer().initialize(Context); in Initialize() 57 return IndexCtx.indexDeclGroupRef(DG); in HandleTopLevelDecl() 65 IndexCtx.indexDeclGroupRef(DG); in HandleTopLevelDeclInObjCContainer() 75 IndexingContext IndexCtx; member in __anon7a4004370111::IndexActionBase 80 IndexCtx(Opts, *DataConsumer) {} in IndexActionBase() 83 return llvm::make_unique<IndexASTConsumer>(IndexCtx); in createIndexASTConsumer() [all …]
|
D | IndexBody.cpp | 19 IndexingContext &IndexCtx; member in __anon2124f1a90111::BodyIndexer 28 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer() 44 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc() 49 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 135 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr() 145 return IndexCtx.handleReference(E->getMemberDecl(), Loc, in VisitMemberExpr() 152 return IndexCtx.handleReference(D.getField(), D.getFieldLoc(), Parent, in VisitDesignatedInitExpr() 161 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitObjCIvarRefExpr() 190 return IndexCtx.handleReference(MD, E->getSelectorStartLoc(), in VisitObjCMessageExpr() 198 return IndexCtx.handleReference(E->getExplicitProperty(), E->getLocation(), in VisitObjCPropertyRefExpr() [all …]
|
D | IndexTypeSourceInfo.cpp | 19 IndexingContext &IndexCtx; member in __anonaf878c3a0111::TypeIndexer 30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in TypeIndexer() 40 return IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc() 75 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 85 IndexCtx.indexTagDecl(D); in VisitTagTypeLoc() 89 return IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc() 95 return IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc() 101 IndexCtx.handleReference(TL.getProtocol(i), TL.getProtocolLoc(i), in VisitObjCObjectTypeLoc() 109 if (IndexCtx.shouldIndexImplicitTemplateInsts()) { in VisitTemplateSpecializationTypeLoc() 111 IndexCtx.handleReference(RD, TL.getTemplateNameLoc(), in VisitTemplateSpecializationTypeLoc() [all …]
|
/external/llvm-project/clang/lib/Index/ |
D | IndexDecl.cpp | 19 if (!IndexCtx.shouldIndex(D)) return true; \ 33 IndexingContext &IndexCtx; member in __anonc48810c10111::IndexingDeclVisitor 37 : IndexCtx(indexCtx) { } in IndexingDeclVisitor() 52 IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC); in handleTemplateArgumentLoc() 55 IndexCtx.indexTypeSourceInfo(LocInfo.getAsTypeSourceInfo(), Parent, DC); in handleTemplateArgumentLoc() 59 IndexCtx.indexNestedNameSpecifierLoc(TALoc.getTemplateQualifierLoc(), in handleTemplateArgumentLoc() 65 IndexCtx.handleReference(TTD, TALoc.getTemplateNameLoc(), Parent, DC); in handleTemplateArgumentLoc() 89 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent, in handleDeclarator() 92 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent); in handleDeclarator() 97 IndexCtx.indexBody(Parm->getDefaultArg(), Parent); in handleDeclarator() [all …]
|
D | IndexingAction.cpp | 27 std::shared_ptr<IndexingContext> IndexCtx; member in __anon4013f9050111::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() 58 std::shared_ptr<IndexingContext> IndexCtx; member in __anon4013f9050111::IndexASTConsumer 68 IndexCtx(new IndexingContext(Opts, *this->DataConsumer)), in IndexASTConsumer() 77 IndexCtx->setASTContext(Context); in Initialize() 78 IndexCtx->getDataConsumer().initialize(Context); in Initialize() [all …]
|
D | IndexTypeSourceInfo.cpp | 19 IndexingContext &IndexCtx; member in __anon1c7ab1c80111::TypeIndexer 30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in 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() 68 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC, 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() [all …]
|
D | IndexBody.cpp | 19 IndexingContext &IndexCtx; member in __anonf10b2db70111::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() 181 return IndexCtx.handleReference(Symbols[0], Loc, Parent, ParentDC, Roles, in indexDependentReference() 203 return IndexCtx.handleReference(D.getField(), D.getFieldLoc(), Parent, in VisitDesignatedInitExpr() 212 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitObjCIvarRefExpr() 282 return IndexCtx.handleReference(MD, E->getSelectorStartLoc(), in VisitObjCMessageExpr() [all …]
|
/external/llvm-project/clang/tools/libclang/ |
D | Indexing.cpp | 826 return Container->IndexCtx->getClientContainerForDC(Container->DC); in clang_index_getClientContainer() 834 Container->IndexCtx->addContainerInMap(Container->DC, client); in clang_index_setClientContainer() 841 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity() 849 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
|
D | CXIndexDataConsumer.h | 50 CXIndexDataConsumer *IndexCtx; member 62 CXIndexDataConsumer *IndexCtx; member
|
D | CXIndexDataConsumer.cpp | 1145 EntityInfo.IndexCtx = this; in getEntityInfo() 1191 ContInfo.IndexCtx = this; in getContainerInfo()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 798 return Container->IndexCtx->getClientContainerForDC(Container->DC); in clang_index_getClientContainer() 806 Container->IndexCtx->addContainerInMap(Container->DC, client); in clang_index_setClientContainer() 813 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity() 821 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
|
D | CXIndexDataConsumer.h | 52 CXIndexDataConsumer *IndexCtx; member 64 CXIndexDataConsumer *IndexCtx; member
|
D | CXIndexDataConsumer.cpp | 1149 EntityInfo.IndexCtx = this; in getEntityInfo() 1195 ContInfo.IndexCtx = this; in getContainerInfo()
|