[clang-tools-extra] r283205 - Fix windows builtbot error.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 02:49:20 PDT 2016


Author: hokein
Date: Tue Oct  4 04:49:20 2016
New Revision: 283205

URL: http://llvm.org/viewvc/llvm-project?rev=283205&view=rev
Log:
Fix windows builtbot error.

Modified:
    clang-tools-extra/trunk/clang-move/ClangMove.cpp

Modified: clang-tools-extra/trunk/clang-move/ClangMove.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-move/ClangMove.cpp?rev=283205&r1=283204&r2=283205&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-move/ClangMove.cpp (original)
+++ clang-tools-extra/trunk/clang-move/ClangMove.cpp Tue Oct  4 04:49:20 2016
@@ -36,6 +36,7 @@ std::string MakeAbsolutePath(StringRef C
     llvm::errs() << "Warning: could not make absolute file: '" <<  EC.message()
                  << '\n';
   llvm::sys::path::remove_dots(AbsolutePath, /*remove_dot_dot=*/true);
+  llvm::sys::path::native(AbsolutePath);
   return AbsolutePath.str();
 }
 
@@ -51,6 +52,7 @@ std::string MakeAbsolutePath(const Sourc
     llvm::errs() << "Warning: could not make absolute file: '" <<  EC.message()
                  << '\n';
   llvm::sys::path::remove_dots(AbsolutePath, /*remove_dot_dot=*/true);
+  llvm::sys::path::native(AbsolutePath);
   return AbsolutePath.str();
 }
 




More information about the cfe-commits mailing list