[libcxx-commits] [libcxx] 1efb690 - [libcxx] [test] Update XFAILs for a clang-cl bug fixed in clang 23 (#234630)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 23 02:07:00 PDT 2026


Author: Martin Storsjö
Date: 2026-10-23T12:06:55+03:00
New Revision: 1efb690992f0054079a9d8e474a551af066aee0c

URL: https://github.com/llvm/llvm-project/commit/1efb690992f0054079a9d8e474a551af066aee0c
DIFF: https://github.com/llvm/llvm-project/commit/1efb690992f0054079a9d8e474a551af066aee0c.diff

LOG: [libcxx] [test] Update XFAILs for a clang-cl bug fixed in clang 23 (#234630)

This issue, issue https://github.com/llvm/llvm-project/issues/40363, was
fixed by PR https://github.com/llvm/llvm-project/pull/168171 (commit
9ce9e4e6c19bed1781db2c20fae7f24c905438e9) for LLVM 23.

Therefore, update the XFAILs to limit the XFAIL to clang 21 and 22.
(Older versions aren't supported.)

This unblocks one aspect of updating the version of clang-cl in CI to
version 23.

Added: 
    

Modified: 
    libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp
    libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
    libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp
    libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp
    libcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp
index 8ae6bc2d3ba666..79e76c201e441b 100644
--- a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp
@@ -23,7 +23,7 @@
 //     up the OS's collation files.
 
 // https://llvm.org/PR41018
-// XFAIL: windows-dll && msvc
+// XFAIL: windows-dll && msvc && (clang-21 || clang-22)
 
 #include <locale>
 #include <string>

diff  --git a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
index 383b978355d434..34abc94b3f6bc7 100644
--- a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
@@ -9,7 +9,7 @@
 // REQUIRES: locale.en_US.UTF-8
 
 // https://llvm.org/PR41018
-// XFAIL: windows-dll && msvc
+// XFAIL: windows-dll && msvc && (clang-21 || clang-22)
 
 // <locale>
 

diff  --git a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp
index 8028b444659174..020e4ddc98b51a 100644
--- a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // https://llvm.org/PR41018
-// XFAIL: windows-dll && msvc
+// XFAIL: windows-dll && msvc && (clang-21 || clang-22)
 
 // <locale>
 

diff  --git a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp
index 7bcfe917f9497b..c9d954bce11af5 100644
--- a/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // https://llvm.org/PR41018
-// XFAIL: windows-dll && msvc
+// XFAIL: windows-dll && msvc && (clang-21 || clang-22)
 
 // <locale>
 

diff  --git a/libcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp
index c435f86f7e9e7e..e6488586a09f18 100644
--- a/libcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp
+++ b/libcxx/test/std/localization/locales/locale/locale.operators/compare.pass.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // https://llvm.org/PR41018
-// XFAIL: windows-dll && msvc
+// XFAIL: windows-dll && msvc && (clang-21 || clang-22)
 
 // <locale>
 


        


More information about the libcxx-commits mailing list