Skip to content

Commit d1146b1

Browse files
authored
[libc++] Update our documentation on the supported compilers (#165684)
1 parent 1057c63 commit d1146b1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

libcxx/docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ velocity, libc++ drops support for older compilers as newer ones are released.
132132
============ =================== ========================== =====================
133133
Compiler Versions Restrictions Support policy
134134
============ =================== ========================== =====================
135-
Clang 19, 20, 21-git latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_ and the development version
135+
Clang 20, 21, 22-git latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_ and the development version
136136
AppleClang 26.0 latest stable release per `Xcode's release page <https://developer.apple.com/documentation/xcode-release-notes>`_
137137
Open XL 17.1.3 (AIX) latest stable release per `Open XL's documentation page <https://www.ibm.com/docs/en/openxl-c-and-cpp-aix>`_
138138
GCC 15 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_

libcxx/include/__configuration/compiler.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
// Warn if a compiler version is used that is not supported anymore
3434
// LLVM RELEASE Update the minimum compiler versions
3535
# if defined(_LIBCPP_CLANG_VER)
36-
# if _LIBCPP_CLANG_VER < 1900
37-
# warning "Libc++ only supports Clang 19 and later"
36+
# if _LIBCPP_CLANG_VER < 2001
37+
# warning "Libc++ only supports Clang 20 and later"
3838
# endif
3939
# elif defined(_LIBCPP_APPLE_CLANG_VER)
40-
# if _LIBCPP_APPLE_CLANG_VER < 1600
41-
# warning "Libc++ only supports AppleClang 15 and later"
40+
# if _LIBCPP_APPLE_CLANG_VER < 1700
41+
# warning "Libc++ only supports AppleClang 26 and later"
4242
# endif
4343
# elif defined(_LIBCPP_GCC_VER)
44-
# if _LIBCPP_GCC_VER < 1400
45-
# warning "Libc++ only supports GCC 14 and later"
44+
# if _LIBCPP_GCC_VER < 1500
45+
# warning "Libc++ only supports GCC 15 and later"
4646
# endif
4747
# endif
4848

0 commit comments

Comments
 (0)