Resolve ambiguity between llvm::make_unique and std::make_unique.
authorYaron Keren <yaron.keren@gmail.com>
Mon, 6 Oct 2014 06:39:57 +0000 (06:39 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Mon, 6 Oct 2014 06:39:57 +0000 (06:39 +0000)
Intorduced in r219098.

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

lib/DebugInfo/DWARFUnit.h

index a57bead475048aed435db36045ad89fe17a9fca0..a4dd276b101b4b3420b809f1c6f63f2fa3ca9c8f 100644 (file)
@@ -88,8 +88,9 @@ public:
     DataExtractor Data(Section, LE, 0);
     uint32_t Offset = 0;
     while (Data.isValidOffset(Offset)) {
-      auto U = make_unique<UnitType>(Context, DA, Section, RS, SS, SOS, AOS, &M,
-                                     Data.isLittleEndian(), *this);
+      auto U =
+          llvm::make_unique<UnitType>(Context, DA, Section, RS, SS, SOS, AOS,
+                                      &M, Data.isLittleEndian(), *this);
       if (!U->extract(Data, &Offset))
         break;
       this->push_back(std::move(U));