[llvm] r318535 - Try to fix the windows build.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 09:46:39 PST 2017


Author: rafael
Date: Fri Nov 17 09:46:39 2017
New Revision: 318535

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

Modified:
    llvm/trunk/tools/dsymutil/dsymutil.cpp

Modified: llvm/trunk/tools/dsymutil/dsymutil.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/dsymutil.cpp?rev=318535&r1=318534&r2=318535&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/dsymutil.cpp (original)
+++ llvm/trunk/tools/dsymutil/dsymutil.cpp Fri Nov 17 09:46:39 2017
@@ -342,12 +342,12 @@ int main(int argc, char **argv) {
           errs() << toString(T.takeError());
           return 1;
         }
-        OS = make_unique<raw_fd_ostream>(T->FD, /*shouldClose*/ false);
+        OS = llvm::make_unique<raw_fd_ostream>(T->FD, /*shouldClose*/ false);
         OutputFile = T->TmpName;
         TempFileStore.Files.push_back(std::move(*T));
       } else {
         std::error_code EC;
-        OS = make_unique<raw_fd_ostream>(NoOutput ? "-" : OutputFile, EC,
+        OS = llvm::make_unique<raw_fd_ostream>(NoOutput ? "-" : OutputFile, EC,
                                          sys::fs::F_None);
         if (EC) {
           errs() << OutputFile << ": " << EC.message();




More information about the llvm-commits mailing list