diff options
| author | Eric Liu <ioeric@google.com> | 2018-05-17 14:59:15 +0000 |
|---|---|---|
| committer | Eric Liu <ioeric@google.com> | 2018-05-17 14:59:15 +0000 |
| commit | 07d4730ca4d671ebed4423595eeceebd9e2e523e (patch) | |
| tree | a53b6f3dbb4e71b584d6760867a915397ad24a40 | |
| parent | a1bee62308f1a321d859c78bf11f4aa6bc85d442 (diff) | |
| download | bcm5719-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.cpp | 2 |
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(); } |

