Home
last modified time | relevance | path

Searched refs:IdxCtx (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.h33 CXIndexDataConsumer &IdxCtx; variable
250 AttrListInfo(const Decl *D, CXIndexDataConsumer &IdxCtx);
310 CXIndexDataConsumer &IdxCtx,
325 CXIndexDataConsumer &IdxCtx, ScratchAlloc &SA);
483 ++IdxCtx.StrAdapterCount; in ScratchAlloc()
485 inline ScratchAlloc::ScratchAlloc(const ScratchAlloc &SA) : IdxCtx(SA.IdxCtx) { in ScratchAlloc()
486 ++IdxCtx.StrAdapterCount; in ScratchAlloc()
490 --IdxCtx.StrAdapterCount; in ~ScratchAlloc()
491 if (IdxCtx.StrAdapterCount == 0) in ~ScratchAlloc()
492 IdxCtx.StrScratch.Reset(); in ~ScratchAlloc()
[all …]
H A DCXIndexDataConsumer.cpp252 IdxCtx.getEntityInfo(PD, ProtEntities.back(), SA); in ObjCProtocolListInfo()
255 IdxCtx.getIndexLoc(Loc) }; in ObjCProtocolListInfo()
258 if (IdxCtx.shouldSuppressRefs()) in ObjCProtocolListInfo()
259 IdxCtx.markEntityOccurrenceInFile(PD, Loc); in ObjCProtocolListInfo()
285 : SA(IdxCtx), ref_cnt(0) { in AttrListInfo()
291 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); in AttrListInfo()
292 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); in AttrListInfo()
324 IdxCtx.getEntityInfo(InterD, IBInfo.ClassInfo, SA); in AttrListInfo()
338 ScratchAlloc SA(IdxCtx); in create()
340 return new (attrs) AttrListInfo(D, IdxCtx); in create()
[all …]
H A DIndexing.cpp643 static void indexPreprocessingRecord(ASTUnit &Unit, CXIndexDataConsumer &IdxCtx) { in indexPreprocessingRecord() argument
658 IdxCtx.ppIncludedFile(Loc, ID->getFileName(), in indexPreprocessingRecord()