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

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 09:32:21 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)
----------------
dpaoliello wrote:

Agreed, MSVC is still missing some parts, and we'd have to bump the minimum version requirement to VS 2022. <https://en.cppreference.com/w/cpp/23.html>

On the other hand, it seems like bumping this to 20 would be reasonable.

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


More information about the llvm-commits mailing list