Home
last modified time | relevance | path

Searched refs:BufferOwner (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp168 std::unique_ptr<llvm::MemoryBuffer> BufferOwner; in getBufferForFileHandlingRemapping() local
181 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
182 if (!BufferOwner) in getBufferForFileHandlingRemapping()
197 BufferOwner.reset(); in getBufferForFileHandlingRemapping()
205 if (!Buffer && !BufferOwner) { in getBufferForFileHandlingRemapping()
206 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
207 if (!BufferOwner) in getBufferForFileHandlingRemapping()
211 if (BufferOwner) in getBufferForFileHandlingRemapping()
212 return BufferOwner; in getBufferForFileHandlingRemapping()
/external/clang/lib/Frontend/
DASTUnit.cpp1196 std::unique_ptr<llvm::MemoryBuffer> BufferOwner; in ComputePreamble() local
1207 BufferOwner = getBufferForFile(RF.second); in ComputePreamble()
1208 if (!BufferOwner) in ComputePreamble()
1222 BufferOwner.reset(); in ComputePreamble()
1230 if (!Buffer && !BufferOwner) { in ComputePreamble()
1231 BufferOwner = getBufferForFile(FrontendOpts.Inputs[0].getFile()); in ComputePreamble()
1232 if (!BufferOwner) in ComputePreamble()
1237 Buffer = BufferOwner.get(); in ComputePreamble()
1240 return ComputedPreamble(Buffer, std::move(BufferOwner), Pre.first, in ComputePreamble()