Searched refs:StrScratch (Results 1 – 2 of 2) sorted by relevance
296 llvm::BumpPtrAllocator StrScratch; variable340 StrScratch(), StrAdapterCount(0) { } in CXIndexDataConsumer()523 IdxCtx.StrScratch.Reset(); in ~ScratchAlloc()528 return IdxCtx.StrScratch.Allocate<T>(); in allocate()
402 char *buf = IdxCtx.StrScratch.Allocate<char>(Str.size() + 1); in copyCStr()