Searched refs:NewBufOrErr (Results 1 – 3 of 3) sorted by relevance
49 ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr = in AddIncludeFile() local53 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()
44 ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr = in AddIncludeFile() local48 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()