From 07d4730ca4d671ebed4423595eeceebd9e2e523e Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Thu, 17 May 2018 14:59:15 +0000 Subject: [PATCH] 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 --- clang-tools-extra/clang-move/ClangMove.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang-tools-extra/clang-move/ClangMove.cpp b/clang-tools-extra/clang-move/ClangMove.cpp index 3381ab5c82ea..e126852e3820 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(); }