[llvm] 154331 build with c++23 on main (PR #154372)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 09:20:52 PDT 2025


================
@@ -59,7 +59,7 @@ set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name
 include(GNUInstallDirs)
 
 # This C++ standard is required to build LLVM.
-set(LLVM_REQUIRED_CXX_STANDARD 17)
+set(LLVM_REQUIRED_CXX_STANDARD 23)
----------------
aganea wrote:

Your PR should only include the changes to make it possible to build with C++23. This leaves the latitude to flip this switch at a later time (this would require an RFC anyway).

https://github.com/llvm/llvm-project/pull/154372


More information about the llvm-commits mailing list