Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DIndexDecl.cpp19 IndexingContext &IndexCtx; member in __anon22ede4fb0111::IndexingDeclVisitor
23 : IndexCtx(indexCtx) { } in IndexingDeclVisitor()
37 if (!IndexCtx.shouldIndexFunctionLocalSymbols()) { in handleDeclarator()
38 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent); in handleDeclarator()
39 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent); in handleDeclarator()
42 IndexCtx.handleVar(Parm); in handleDeclarator()
47 IndexCtx.handleVar(*PI); in handleDeclarator()
54 IndexCtx.handleObjCMethod(D); in handleObjCMethod()
58 IndexCtx.indexTypeSourceInfo(D->getResultTypeSourceInfo(), D); in handleObjCMethod()
67 IndexCtx.indexBody(Body, D, D); in handleObjCMethod()
[all …]
DIndexBody.cpp19 IndexingContext &IndexCtx; member in __anon4f7101f10111::BodyIndexer
27 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
32 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
42 IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr()
48 IndexCtx.handleReference(E->getMemberDecl(), E->getMemberLoc(), in VisitMemberExpr()
58 IndexCtx.handleReference(D->getField(), D->getFieldLoc(), in VisitDesignatedInitExpr()
65 IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitObjCIvarRefExpr()
72 IndexCtx.handleReference(MD, E->getSelectorStartLoc(), in VisitObjCMessageExpr()
81 IndexCtx.handleReference(E->getExplicitProperty(), E->getLocation(), in VisitObjCPropertyRefExpr()
[all …]
DIndexTypeSourceInfo.cpp19 IndexingContext &IndexCtx; member in __anon7a3a96820111::TypeIndexer
26 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC) { } in TypeIndexer()
31 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc()
37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
47 IndexCtx.indexTagDecl(D); in VisitTagTypeLoc()
52 IndexCtx.handleTagDecl(D); in VisitTagTypeLoc()
54 IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
60 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
67 IndexCtx.handleReference(TL.getProtocol(i), TL.getProtocolLoc(i), in VisitObjCObjectTypeLoc()
75 if (IndexCtx.shouldIndexImplicitTemplateInsts()) { in VisitTemplateSpecializationTypeLoc()
[all …]
DIndexing.cpp248 IndexingContext &IndexCtx; member in __anonb27e7a610111::IndexPPCallbacks
253 : PP(PP), IndexCtx(indexCtx), IsMainFileEntered(false) { } in IndexPPCallbacks()
265 IndexCtx.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged()
280 IndexCtx.ppIncludedFile(HashLoc, FileName, File, isImport, IsAngled, in InclusionDirective()
311 IndexingContext &IndexCtx; member in __anonb27e7a610111::IndexingConsumer
316 : IndexCtx(indexCtx), SKCtrl(skCtrl) { } in IndexingConsumer()
321 IndexCtx.setASTContext(Context); in Initialize()
322 IndexCtx.startedTranslationUnit(); in Initialize()
331 IndexCtx.indexDeclGroupRef(DG); in HandleTopLevelDecl()
332 return !IndexCtx.shouldAbort(); in HandleTopLevelDecl()
[all …]
DIndexingContext.h48 IndexingContext *IndexCtx; member
60 IndexingContext *IndexCtx; member
DIndexingContext.cpp922 EntityInfo.IndexCtx = this; in getEntityInfo()
1124 ContInfo.IndexCtx = this; in getContainerInfo()