Searched refs:StrScratch (Results 1 – 2 of 2) sorted by relevance
310 llvm::BumpPtrAllocator StrScratch; variable354 StrScratch(/*size=*/1024), StrAdapterCount(0) { } in IndexingContext()520 IdxCtx.StrScratch.Reset(); in ~ScratchAlloc()525 return IdxCtx.StrScratch.Allocate<T>(); in allocate()
192 char *buf = IdxCtx.StrScratch.Allocate<char>(Str.size() + 1); in copyCStr()