[libcxx-commits] [libcxx] [libc++] Add clang-21 to failing tests on Windows (PR #124955)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 29 09:14:29 PST 2025
https://github.com/gulfemsavrun created https://github.com/llvm/llvm-project/pull/124955
After we switched to LLVM version 21, some libc++ tests started failing on Windows. This patch adds the clang-21 condition to XFAIL to fix the issue.
>From 3692b802fcba6f2ea2d1483ffb4a774f4ae52c84 Mon Sep 17 00:00:00 2001
From: Gulfem Savrun Yeniceri <gulfem at google.com>
Date: Wed, 29 Jan 2025 09:10:41 -0800
Subject: [PATCH] [libc++] Add clang-21 to failing tests on Windows
After we switched to LLVM version 21, some libc++ tests
started failing on Windows. This patch adds the clang-21
condition to XFAIL to fix the issue.
---
libcxx/test/libcxx/fuzzing/random.pass.cpp | 2 +-
libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp | 2 +-
libcxx/test/std/numerics/c.math/cmath.pass.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libcxx/test/libcxx/fuzzing/random.pass.cpp b/libcxx/test/libcxx/fuzzing/random.pass.cpp
index af80fb8ba18d9a..cb074bd60fdc8c 100644
--- a/libcxx/test/libcxx/fuzzing/random.pass.cpp
+++ b/libcxx/test/libcxx/fuzzing/random.pass.cpp
@@ -8,7 +8,7 @@
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
-// XFAIL: msvc && (clang-18 || clang-19 || clang-20)
+// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)
// UNSUPPORTED: c++03, c++11
diff --git a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
index 189e9d890e7784..aebef0b2e13635 100644
--- a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
@@ -8,7 +8,7 @@
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
-// XFAIL: msvc && (clang-18 || clang-19 || clang-20)
+// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)
// <math.h>
diff --git a/libcxx/test/std/numerics/c.math/cmath.pass.cpp b/libcxx/test/std/numerics/c.math/cmath.pass.cpp
index fc3dcfd7b48347..48c2918802fc37 100644
--- a/libcxx/test/std/numerics/c.math/cmath.pass.cpp
+++ b/libcxx/test/std/numerics/c.math/cmath.pass.cpp
@@ -8,7 +8,7 @@
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
-// XFAIL: msvc && (clang-18 || clang-19 || clang-20)
+// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)
// <cmath>
More information about the libcxx-commits
mailing list