summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-10-04 09:49:20 +0000
committerHaojian Wu <hokein@google.com>2016-10-04 09:49:20 +0000
commitc6f125e9a5edbf93a6399c0e48c64473aa0900a6 (patch)
treee43f102647ee3642eca87a1449e8bcdfcda48f17
parent67443021a4fb9af0391146287203063f0e64a9ec (diff)
downloadbcm5719-llvm-c6f125e9a5edbf93a6399c0e48c64473aa0900a6.tar.gz
bcm5719-llvm-c6f125e9a5edbf93a6399c0e48c64473aa0900a6.zip
Fix windows builtbot error.
llvm-svn: 283205
-rw-r--r--clang-tools-extra/clang-move/ClangMove.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-move/ClangMove.cpp b/clang-tools-extra/clang-move/ClangMove.cpp
index 69ec412f12d..5aec931dd77 100644
--- a/clang-tools-extra/clang-move/ClangMove.cpp
+++ b/clang-tools-extra/clang-move/ClangMove.cpp
@@ -36,6 +36,7 @@ std::string MakeAbsolutePath(StringRef CurrentDir, StringRef Path) {
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 SourceManager& SM, StringRef Path) {
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();
}
OpenPOWER on IntegriCloud