Searched refs:AllocatedBuffer (Results 1 – 1 of 1) sorted by relevance
862 auto *AllocatedBuffer = Allocator.Allocate<char>(Source.size()); in allocateString() local863 llvm::copy(Source, AllocatedBuffer); in allocateString()864 return ArrayRef<char>(AllocatedBuffer, Source.size()); in allocateString()877 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateString() local878 llvm::copy(SourceStr, AllocatedBuffer); in allocateString()879 return ArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateString()