mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 14:20:17 +00:00
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
This commit is contained in:
parent
a1bee62308
commit
07d4730ca4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user