Searched refs:IdxCtx (Results 1 – 3 of 3) sorted by relevance
/external/clang/tools/libclang/ |
D | IndexingContext.h | 31 IndexingContext &IdxCtx; variable 248 AttrListInfo(const Decl *D, IndexingContext &IdxCtx); 251 IndexingContext &IdxCtx); 310 IndexingContext &IdxCtx, 325 IndexingContext &IdxCtx, ScratchAlloc &SA); 501 inline ScratchAlloc::ScratchAlloc(IndexingContext &idxCtx) : IdxCtx(idxCtx) { in ScratchAlloc() 502 ++IdxCtx.StrAdapterCount; in ScratchAlloc() 504 inline ScratchAlloc::ScratchAlloc(const ScratchAlloc &SA) : IdxCtx(SA.IdxCtx) { in ScratchAlloc() 505 ++IdxCtx.StrAdapterCount; in ScratchAlloc() 509 --IdxCtx.StrAdapterCount; in ~ScratchAlloc() [all …]
|
D | IndexingContext.cpp | 24 IndexingContext &IdxCtx, in ObjCProtocolListInfo() argument 32 IdxCtx.getEntityInfo(PD, ProtEntities.back(), SA); in ObjCProtocolListInfo() 34 MakeCursorObjCProtocolRef(PD, Loc, IdxCtx.CXTU), in ObjCProtocolListInfo() 35 IdxCtx.getIndexLoc(Loc) }; in ObjCProtocolListInfo() 38 if (IdxCtx.shouldSuppressRefs()) in ObjCProtocolListInfo() 39 IdxCtx.markEntityOccurrenceInFile(PD, Loc); in ObjCProtocolListInfo() 64 AttrListInfo::AttrListInfo(const Decl *D, IndexingContext &IdxCtx) in AttrListInfo() argument 65 : SA(IdxCtx), ref_cnt(0) { in AttrListInfo() 71 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); in AttrListInfo() 72 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); in AttrListInfo() [all …]
|
D | Indexing.cpp | 40 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx); 694 static void indexPreprocessingRecord(ASTUnit &Unit, IndexingContext &IdxCtx) { in indexPreprocessingRecord() argument 714 IdxCtx.ppIncludedFile(Loc, ID->getFileName(), in indexPreprocessingRecord() 723 IndexingContext &IdxCtx = *static_cast<IndexingContext*>(context); in topLevelDeclVisitor() local 724 IdxCtx.indexTopLevelDecl(D); in topLevelDeclVisitor() 725 if (IdxCtx.shouldAbort()) in topLevelDeclVisitor() 730 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IdxCtx) { in indexTranslationUnit() argument 731 Unit.visitLocalTopLevelDecls(&IdxCtx, topLevelDeclVisitor); in indexTranslationUnit() 734 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) { in indexDiagnostics() argument 735 if (!IdxCtx.hasDiagnosticCallback()) in indexDiagnostics() [all …]
|