summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2018-05-17 14:59:15 +0000
committerEric Liu <ioeric@google.com>2018-05-17 14:59:15 +0000
commit07d4730ca4d671ebed4423595eeceebd9e2e523e (patch)
treea53b6f3dbb4e71b584d6760867a915397ad24a40
parenta1bee62308f1a321d859c78bf11f4aa6bc85d442 (diff)
downloadbcm5719-llvm-07d4730ca4d671ebed4423595eeceebd9e2e523e.tar.gz
bcm5719-llvm-07d4730ca4d671ebed4423595eeceebd9e2e523e.zip
Second attempt to fix clang-move tests broken by r332590 on windows
http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/12010 Add back a path conversion removed in a previous attempt. I removed it because it didn't seem necessary. Added it back to see if this would fix the bot. llvm-svn: 332612
-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 3381ab5c82e..e126852e382 100644
--- a/clang-tools-extra/clang-move/ClangMove.cpp
+++ b/clang-tools-extra/clang-move/ClangMove.cpp
@@ -64,6 +64,8 @@ AST_MATCHER_P(CXXMethodDecl, ofOutermostEnclosingClass,
std::string CleanPath(StringRef PathRef) {
llvm::SmallString<128> Path(PathRef);
llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true);
+ // FIXME: figure out why this is necessary.
+ llvm::sys::path::native(Path);
return Path.str();
}
OpenPOWER on IntegriCloud