Searched refs:BuffOrErr (Results 1 – 4 of 4) sorted by relevance
93 ErrorOr<std::unique_ptr<MemoryBuffer>> BuffOrErr = in DumpInput() local95 error(Filename, BuffOrErr.getError()); in DumpInput()96 std::unique_ptr<MemoryBuffer> Buff = std::move(BuffOrErr.get()); in DumpInput()
451 auto BuffOrErr = Child.getMemoryBufferRef(); in handleArchive() local452 error(Filename, errorToErrorCode(BuffOrErr.takeError())); in handleArchive()456 Result &= handleBuffer(Name, BuffOrErr.get(), HandleObj, OS); in handleArchive()502 ErrorOr<std::unique_ptr<MemoryBuffer>> BuffOrErr = in handleFile() local504 error(Filename, BuffOrErr.getError()); in handleFile()505 std::unique_ptr<MemoryBuffer> Buffer = std::move(BuffOrErr.get()); in handleFile()
262 ErrorOr<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary() local263 if (std::error_code EC = BuffOrErr.getError()) in getAsBinary()266 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary()
521 Expected<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary() local522 if (!BuffOrErr) in getAsBinary()523 return BuffOrErr.takeError(); in getAsBinary()525 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary()