[libcxx-commits] [libcxx] [llvm] [libcxx] Bump conformance tests to clang 24 (PR #231580)
Aiden Grossman via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 20 21:20:34 PDT 2026
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/231580
>From ca7057ed113e2fecb85549622ce5de5f5eaff351 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 13 Oct 2026 16:23:03 +0000
Subject: [PATCH 1/4] [libcxx] Bump conformance tests to clang 24
Now that it is available in the image, we can bump the version.
---
.../workflows/libcxx-pr-conformance-tests.yaml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/libcxx-pr-conformance-tests.yaml b/.github/workflows/libcxx-pr-conformance-tests.yaml
index a776af92e59654..104dc5629c3383 100644
--- a/.github/workflows/libcxx-pr-conformance-tests.yaml
+++ b/.github/workflows/libcxx-pr-conformance-tests.yaml
@@ -50,8 +50,8 @@ jobs:
'generic-cxx29',
'generic-modules'
]
- cc: [ 'clang-23' ]
- cxx: [ 'clang++-23' ]
+ cc: [ 'clang-24' ]
+ cxx: [ 'clang++-24' ]
include:
- config: 'generic-gcc'
cc: 'gcc-16'
@@ -104,18 +104,18 @@ jobs:
'generic-cxx23',
'generic-cxx26',
]
- cc: [ 'clang-23' ]
- cxx: [ 'clang++-23' ]
+ cc: [ 'clang-24' ]
+ cxx: [ 'clang++-24' ]
include:
- config: 'generic-gcc-cxx11'
cc: 'gcc-16'
cxx: 'g++-16'
+ - config: 'generic-cxx26'
+ cc: 'clang-23'
+ cxx: 'clang++-23'
- config: 'generic-cxx26'
cc: 'clang-22'
cxx: 'clang++-22'
- - config: 'generic-cxx26'
- cc: 'clang-21'
- cxx: 'clang++-21'
steps:
- uses: actions/checkout at 3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
@@ -193,8 +193,8 @@ jobs:
pip install -r libcxx/test/requirements.txt
libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
- CC: clang-23
- CXX: clang++-23
+ CC: clang-24
+ CXX: clang++-24
- uses: actions/upload-artifact at cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: always()
with:
>From 6f1e076e8be2801e5b88a691a6f5fa7bab3a0fc1 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 13 Oct 2026 20:16:55 +0000
Subject: [PATCH 2/4] fix?
---
libcxx/include/__cstddef/nullptr_t.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcxx/include/__cstddef/nullptr_t.h b/libcxx/include/__cstddef/nullptr_t.h
index 7eaae017539652..1498baaff39752 100644
--- a/libcxx/include/__cstddef/nullptr_t.h
+++ b/libcxx/include/__cstddef/nullptr_t.h
@@ -17,7 +17,7 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-using nullptr_t = decltype(nullptr);
+using nullptr_t = decltype(nullptr); // NOLINT(modernize-use-nullptr)
_LIBCPP_END_NAMESPACE_STD
>From 1536d95e00dc767f73be3ca846a6fd4fbe7d2d6e Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 13 Oct 2026 20:42:56 +0000
Subject: [PATCH 3/4] fix2
---
libcxx/include/stddef.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcxx/include/stddef.h b/libcxx/include/stddef.h
index e9e259da152d2d..7649d9fd545cf8 100644
--- a/libcxx/include/stddef.h
+++ b/libcxx/include/stddef.h
@@ -42,7 +42,7 @@
# define _LIBCPP_STDDEF_H
# ifdef __cplusplus
-typedef decltype(nullptr) nullptr_t;
+typedef decltype(nullptr) nullptr_t; // NOLINT(modernize-use-nullptr)
# endif
#endif // _LIBCPP_STDDEF_H
>From c296624e758f49c3ed32f8838e435f2225b20d4d Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Wed, 21 Oct 2026 04:20:18 +0000
Subject: [PATCH 4/4] feedback
---
libcxx/docs/index.md | 2 +-
libcxx/include/__configuration/compiler.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libcxx/docs/index.md b/libcxx/docs/index.md
index 07a1a2946c9f84..536743f1063215 100644
--- a/libcxx/docs/index.md
+++ b/libcxx/docs/index.md
@@ -120,7 +120,7 @@ velocity, libc++ drops support for older compilers as newer ones are released.
| Compiler | Versions | Restrictions | Support policy |
| ---------- | -------------- | ---------------------- | --------------------------------------------------------------------------------------------------------------- |
-| Clang | 21, 22, 23-git | | latest two stable releases per [LLVM's release page](https://releases.llvm.org) and the development version |
+| Clang | 22, 23, 24-git | | latest two stable releases per [LLVM's release page](https://releases.llvm.org) and the development version |
| AppleClang | 26.6 | | latest stable release per [Xcode's release page](https://developer.apple.com/documentation/xcode-release-notes) |
| Open XL | 17.1.4 (AIX) | | latest stable release per [Open XL's documentation page](https://www.ibm.com/docs/en/openxl-c-and-cpp-aix) |
| GCC | 16 | In C++11 or later only | latest stable release per [GCC's release page](https://gcc.gnu.org/releases.html) |
diff --git a/libcxx/include/__configuration/compiler.h b/libcxx/include/__configuration/compiler.h
index c4896347921a22..7a59d8b90089eb 100644
--- a/libcxx/include/__configuration/compiler.h
+++ b/libcxx/include/__configuration/compiler.h
@@ -33,8 +33,8 @@
// Warn if a compiler version is used that is not supported anymore
// LLVM RELEASE Update the minimum compiler versions
# if defined(_LIBCPP_CLANG_VER)
-# if _LIBCPP_CLANG_VER < 2101
-# warning "Libc++ only supports Clang 21 and later"
+# if _LIBCPP_CLANG_VER < 2201
+# warning "Libc++ only supports Clang 22 and later"
# endif
# elif defined(_LIBCPP_APPLE_CLANG_VER)
# if _LIBCPP_APPLE_CLANG_VER < 2100
More information about the libcxx-commits
mailing list