Searched refs:MBOrErr (Results 1 – 2 of 2) sorted by relevance
36 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in readLockFile() local38 if (!MBOrErr) { in readLockFile()42 std::unique_ptr<MemoryBuffer> MB = std::move(MBOrErr.get()); in readLockFile()
2609 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in LLVMCreateMemoryBufferWithContentsOfFile() local2610 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() local2621 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithSTDIN()2625 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithSTDIN()