[llvm] r239877 - Try to fix the MSVC build.

Rafael Espindola rafael.espindola at gmail.com
Tue Jun 16 20:13:26 PDT 2015


Author: rafael
Date: Tue Jun 16 22:13:26 2015
New Revision: 239877

URL: http://llvm.org/viewvc/llvm-project?rev=239877&view=rev
Log:
Try to fix the MSVC build.

Modified:
    llvm/trunk/unittests/Bitcode/BitReaderTest.cpp

Modified: llvm/trunk/unittests/Bitcode/BitReaderTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Bitcode/BitReaderTest.cpp?rev=239877&r1=239876&r2=239877&view=diff
==============================================================================
--- llvm/trunk/unittests/Bitcode/BitReaderTest.cpp (original)
+++ llvm/trunk/unittests/Bitcode/BitReaderTest.cpp Tue Jun 16 22:13:26 2015
@@ -83,7 +83,7 @@ getStreamedModuleFromAssembly(LLVMContex
   writeModuleToBuffer(parseAssembly(Assembly), Mem);
   std::unique_ptr<MemoryBuffer> Buffer =
       MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
-  auto Streamer = make_unique<BufferDataStreamer>(std::move(Buffer));
+  auto Streamer = llvm::make_unique<BufferDataStreamer>(std::move(Buffer));
   ErrorOr<std::unique_ptr<Module>> ModuleOrErr =
       getStreamedBitcodeModule("test", std::move(Streamer), Context);
   return std::move(ModuleOrErr.get());





More information about the llvm-commits mailing list