Skip to content

Commit 1c3a99c

Browse files
authored
[libc++] Add clang-20 to failing tests on Windows (#100119)
After we switched to LLVM version 20, some libc++ tests started failing on Windows. This patch adds the clang-20 condition to XFAIL to fix the issue. The way that these tests are excluded from Windows are fragile and need to be updated every time we bump the LLVM version.
1 parent c312a1a commit 1c3a99c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libcxx/test/libcxx/fuzzing/random.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// This test fails because Clang no longer enables -fdelayed-template-parsing
1010
// by default on Windows with C++20 (#69431).
11-
// XFAIL: msvc && (clang-18 || clang-19)
11+
// XFAIL: msvc && (clang-18 || clang-19 || clang-20)
1212

1313
// UNSUPPORTED: c++03, c++11
1414

libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// This test fails because Clang no longer enables -fdelayed-template-parsing
1010
// by default on Windows with C++20 (#69431).
11-
// XFAIL: msvc && (clang-18 || clang-19)
11+
// XFAIL: msvc && (clang-18 || clang-19 || clang-20)
1212

1313
// <math.h>
1414

libcxx/test/std/numerics/c.math/cmath.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// This test fails because Clang no longer enables -fdelayed-template-parsing
1010
// by default on Windows with C++20 (#69431).
11-
// XFAIL: msvc && (clang-18 || clang-19)
11+
// XFAIL: msvc && (clang-18 || clang-19 || clang-20)
1212

1313
// <cmath>
1414

0 commit comments

Comments
 (0)