Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DLockFileManager.cpp36 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in readLockFile() local
38 if (!MBOrErr) { in readLockFile()
42 std::unique_ptr<MemoryBuffer> MB = std::move(MBOrErr.get()); in readLockFile()
/external/llvm/lib/IR/
DCore.cpp2609 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in LLVMCreateMemoryBufferWithContentsOfFile() local
2610 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithContentsOfFile()
2614 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithContentsOfFile()
2620 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getSTDIN(); in LLVMCreateMemoryBufferWithSTDIN() local
2621 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithSTDIN()
2625 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithSTDIN()