Lines Matching refs:IdxCtx
35 CXIndexDataConsumer &IdxCtx; variable
252 AttrListInfo(const Decl *D, CXIndexDataConsumer &IdxCtx);
255 CXIndexDataConsumer &IdxCtx);
312 CXIndexDataConsumer &IdxCtx,
327 CXIndexDataConsumer &IdxCtx, ScratchAlloc &SA);
513 inline ScratchAlloc::ScratchAlloc(CXIndexDataConsumer &idxCtx) : IdxCtx(idxCtx) { in ScratchAlloc()
514 ++IdxCtx.StrAdapterCount; in ScratchAlloc()
516 inline ScratchAlloc::ScratchAlloc(const ScratchAlloc &SA) : IdxCtx(SA.IdxCtx) { in ScratchAlloc()
517 ++IdxCtx.StrAdapterCount; in ScratchAlloc()
521 --IdxCtx.StrAdapterCount; in ~ScratchAlloc()
522 if (IdxCtx.StrAdapterCount == 0) in ~ScratchAlloc()
523 IdxCtx.StrScratch.Reset(); in ~ScratchAlloc()
528 return IdxCtx.StrScratch.Allocate<T>(); in allocate()