Skip to content

Commit e4e2d8e

Browse files
1 parent 5a7cd5d commit e4e2d8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/unittests/Frontend/CompilerInvocationTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ TEST_F(CC1CommandLineGenerationTest,
7878

7979
TEST_F(CC1CommandLineGenerationTest,
8080
CanGenerateCC1CommandLineSeparateRequiredAbsent) {
81-
const std::string DefaultTriple = llvm::sys::getDefaultTargetTriple();
81+
const std::string DefaultTriple =
82+
llvm::Triple::normalize(llvm::sys::getDefaultTargetTriple());
8283
const char *Args[] = {"clang", "-xc++", "-"};
8384

8485
CompilerInvocation CInvok;

0 commit comments

Comments
 (0)