projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5882283
)
[clang] Fix a misadjusted path style comparison in a unittest
author
Martin Storsjö
<martin@martin.st>
Fri, 5 Nov 2021 09:28:21 +0000
(11:28 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 9 Dec 2021 09:47:43 +0000
(11:47 +0200)
This was changed incorrectly by accident in
99023627010bbfefb71e25a2b4d056de1cbd354e
.
Differential Revision: https://reviews.llvm.org/D113254
clang/unittests/Driver/ToolChainTest.cpp
patch
|
blob
|
history
diff --git
a/clang/unittests/Driver/ToolChainTest.cpp
b/clang/unittests/Driver/ToolChainTest.cpp
index
62ad6f7
..
286ad84
100644
(file)
--- a/
clang/unittests/Driver/ToolChainTest.cpp
+++ b/
clang/unittests/Driver/ToolChainTest.cpp
@@
-151,7
+151,7
@@
TEST(ToolChainTest, VFSGCCInstallationRelativeDir) {
llvm::raw_string_ostream OS(S);
C->getDefaultToolChain().printVerboseInfo(OS);
}
- if (is_style_windows(llvm::sys::path::Style::
windows
))
+ if (is_style_windows(llvm::sys::path::Style::
native
))
std::replace(S.begin(), S.end(), '\\', '/');
EXPECT_EQ("Found candidate GCC installation: "
"/home/test/bin/../lib/gcc/arm-linux-gnueabi/4.6.1\n"