Analysis: fix buildbots
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 18 Feb 2015 05:09:50 +0000 (05:09 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 18 Feb 2015 05:09:50 +0000 (05:09 +0000)
This should fix the compilation failure on the MSVC buildbots which find a
std::make_unique and llvm::make_unique via ADL, resulting in ambiguity.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229638 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LoopAccessAnalysis.cpp

index c974b36d76e49f59b608b8765085a64e5608ffb2..a0e88370bc2d115224dddb47fb39f6ffcc7a666a 100644 (file)
@@ -1311,7 +1311,7 @@ const LoopAccessInfo &LoopAccessAnalysis::getInfo(Loop *L,
 #endif
 
   if (!LAI) {
-    LAI = make_unique<LoopAccessInfo>(L, SE, DL, TLI, AA, DT, Strides);
+    LAI = llvm::make_unique<LoopAccessInfo>(L, SE, DL, TLI, AA, DT, Strides);
 #ifndef NDEBUG
     LAI->NumSymbolicStrides = Strides.size();
 #endif