Searched refs:BufferOrErr (Results 1 – 7 of 7) sorted by relevance
62 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in isBitcodeFile() local64 if (!BufferOrErr) in isBitcodeFile()68 BufferOrErr.get()->getMemBufferRef()); in isBitcodeFile()111 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromFile() local113 if (std::error_code EC = BufferOrErr.getError()) { in createFromFile()117 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromFile()132 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromOpenFileSlice() local135 if (std::error_code EC = BufferOrErr.getError()) { in createFromOpenFileSlice()139 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromOpenFileSlice()
303 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in compileOptimized() local305 if (std::error_code EC = BufferOrErr.getError()) { in compileOptimized()314 return std::move(*BufferOrErr); in compileOptimized()
150 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createYAMLParserFromMeta() local152 if (std::error_code EC = BufferOrErr.getError()) in createYAMLParserFromMeta()156 SeparateBuf = std::move(*BufferOrErr); in createYAMLParserFromMeta()
427 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in processExternalFilePath() local429 if (std::error_code EC = BufferOrErr.getError()) in processExternalFilePath()432 TmpRemarkBuffer = std::move(*BufferOrErr); in processExternalFilePath()
621 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in LineConsumer() local623 if (std::error_code EC = BufferOrErr.getError()) { in LineConsumer()627 Buffer = std::move(BufferOrErr.get()); in LineConsumer()
42 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in setupMemoryBuffer() local44 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()46 return std::move(BufferOrErr.get()); in setupMemoryBuffer()
1244 auto BufferOrErr = MemoryBuffer::getFileOrSTDIN(Filename); in setupMemoryBuffer() local1245 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()1247 auto Buffer = std::move(BufferOrErr.get()); in setupMemoryBuffer()