Home
last modified time | relevance | path

Searched refs:NewBufOrErr (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp49 ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr = in AddIncludeFile() local
53 for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr; in AddIncludeFile()
57 NewBufOrErr = MemoryBuffer::getFile(IncludedFile); in AddIncludeFile()
60 if (!NewBufOrErr) in AddIncludeFile()
63 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSourceMgr.cpp44 ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr = in AddIncludeFile() local
48 for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr; in AddIncludeFile()
52 NewBufOrErr = MemoryBuffer::getFile(IncludedFile); in AddIncludeFile()
55 if (!NewBufOrErr) in AddIncludeFile()
58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp44 ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr = in AddIncludeFile() local
48 for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr; in AddIncludeFile()
52 NewBufOrErr = MemoryBuffer::getFile(IncludedFile); in AddIncludeFile()
55 if (!NewBufOrErr) in AddIncludeFile()
58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()