[llvm] r312341 - Specify the namespace in llvm::make_unique to fix the windows build

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 10:26:24 PDT 2017


Author: bogner
Date: Fri Sep  1 10:26:24 2017
New Revision: 312341

URL: http://llvm.org/viewvc/llvm-project?rev=312341&view=rev
Log:
Specify the namespace in llvm::make_unique to fix the windows build

Modified:
    llvm/trunk/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp

Modified: llvm/trunk/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp?rev=312341&r1=312340&r2=312341&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp (original)
+++ llvm/trunk/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp Fri Sep  1 10:26:24 2017
@@ -88,7 +88,7 @@ std::unique_ptr<IRMutator> createISelMut
       new InjectorIRStrategy(InjectorIRStrategy::getDefaultOps()));
   Strategies.emplace_back(new InstDeleterIRStrategy());
 
-  return make_unique<IRMutator>(std::move(Types), std::move(Strategies));
+  return llvm::make_unique<IRMutator>(std::move(Types), std::move(Strategies));
 }
 
 extern "C" LLVM_ATTRIBUTE_USED size_t LLVMFuzzerCustomMutator(




More information about the llvm-commits mailing list