Searched refs:ErrorOrBuffer (Results 1 – 6 of 6) sorted by relevance
27 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in loadDataForPDB() local30 if (!ErrorOrBuffer) in loadDataForPDB()31 return errorCodeToError(ErrorOrBuffer.getError()); in loadDataForPDB()33 return NativeSession::createFromPdb(std::move(*ErrorOrBuffer), Session); in loadDataForPDB()
51 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in createFromPdb() local54 if (!ErrorOrBuffer) in createFromPdb()57 std::unique_ptr<MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in createFromPdb()
175 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> ErrorOrBuffer = in loadPDBFile() local178 if (!ErrorOrBuffer) in loadPDBFile()180 std::unique_ptr<llvm::MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in loadPDBFile()
85 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in loadPdbFile() local88 if (!ErrorOrBuffer) in loadPdbFile()89 return make_error<RawError>(ErrorOrBuffer.getError()); in loadPdbFile()90 std::unique_ptr<llvm::MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in loadPdbFile()
300 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in yamlToPdb() local304 if (ErrorOrBuffer.getError()) { in yamlToPdb()308 std::unique_ptr<MemoryBuffer> &Buffer = ErrorOrBuffer.get(); in yamlToPdb()
750 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in yamlToPdb() local754 if (ErrorOrBuffer.getError()) { in yamlToPdb()755 ExitOnErr(createFileError(Path, errorCodeToError(ErrorOrBuffer.getError()))); in yamlToPdb()758 std::unique_ptr<MemoryBuffer> &Buffer = ErrorOrBuffer.get(); in yamlToPdb()