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();
 }
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to