Home
last modified time | relevance | path

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

/external/clang/lib/Index/
DIndexDecl.cpp26 IndexingContext &IndexCtx; member in __anon67ce83f20111::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 …]
DIndexingAction.cpp44 IndexingContext &IndexCtx; member in __anon92a712d60111::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 __anon92a712d60111::IndexActionBase
80 IndexCtx(Opts, *DataConsumer) {} in IndexActionBase()
83 return llvm::make_unique<IndexASTConsumer>(IndexCtx); in createIndexASTConsumer()
[all …]
DIndexBody.cpp19 IndexingContext &IndexCtx; member in __anon9451a0e80111::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 …]
DIndexTypeSourceInfo.cpp19 IndexingContext &IndexCtx; member in __anon3b6b96390111::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/clang/tools/libclang/
DIndexing.cpp798 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()
DCXIndexDataConsumer.h52 CXIndexDataConsumer *IndexCtx; member
64 CXIndexDataConsumer *IndexCtx; member
DCXIndexDataConsumer.cpp1149 EntityInfo.IndexCtx = this; in getEntityInfo()
1195 ContInfo.IndexCtx = this; in getContainerInfo()