From b773203fb58f3ef282fb69c832d8710cab5bc82d Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 27 Jan 2019 16:42:12 +0000 Subject: Import LLVM 7.0.1 release including clang, lld and lldb. --- gnu/llvm/unittests/Bitcode/BitReaderTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/llvm/unittests/Bitcode/BitReaderTest.cpp') diff --git a/gnu/llvm/unittests/Bitcode/BitReaderTest.cpp b/gnu/llvm/unittests/Bitcode/BitReaderTest.cpp index 5efb7faf508..3b4600718b5 100644 --- a/gnu/llvm/unittests/Bitcode/BitReaderTest.cpp +++ b/gnu/llvm/unittests/Bitcode/BitReaderTest.cpp @@ -44,7 +44,7 @@ std::unique_ptr parseAssembly(LLVMContext &Context, static void writeModuleToBuffer(std::unique_ptr Mod, SmallVectorImpl &Buffer) { raw_svector_ostream OS(Buffer); - WriteBitcodeToFile(Mod.get(), OS); + WriteBitcodeToFile(*Mod, OS); } static std::unique_ptr getLazyModuleFromAssembly(LLVMContext &Context, -- cgit v1.2.3-59-g8ed1b