diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp --- a/clang/unittests/Driver/ToolChainTest.cpp +++ b/clang/unittests/Driver/ToolChainTest.cpp @@ -151,7 +151,7 @@ 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"