diff options
author | Martin Storsjö <martin@martin.st> | 2021-11-05 11:28:21 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-12-09 11:47:43 +0200 |
commit | 120d44d1a00b12b79057420eb1d89277522348b1 (patch) | |
tree | 45e5ac2a49cf7e013f08b6f40cfa01e45c050f59 /clang/unittests/Driver/ToolChainTest.cpp | |
parent | 58822837cd53cdbe9c1b878c705b288f17a52f98 (diff) | |
download | llvm-120d44d1a00b12b79057420eb1d89277522348b1.zip llvm-120d44d1a00b12b79057420eb1d89277522348b1.tar.gz llvm-120d44d1a00b12b79057420eb1d89277522348b1.tar.bz2 |
[clang] Fix a misadjusted path style comparison in a unittest
This was changed incorrectly by accident in
99023627010bbfefb71e25a2b4d056de1cbd354e.
Differential Revision: https://reviews.llvm.org/D113254
Diffstat (limited to 'clang/unittests/Driver/ToolChainTest.cpp')
-rw-r--r-- | clang/unittests/Driver/ToolChainTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp index 62ad6f7..286ad84 100644 --- 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" |