[libcxx] [llvm] [libc++] Kickstart C++29 support (PR #215820)

Nikolas Klauser via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 05:23:41 PDT 2026


================
@@ -79,12 +79,17 @@
     "-flax-vector-conversions=none",
 ]
 
-_allStandards = ["c++03", "c++11", "c++14", "c++17", "c++20", "c++23", "c++26"]
+_allStandards = ["c++03", "c++11", "c++14", "c++17", "c++20", "c++23", "c++26", "c++29"]
 
 
 def getStdFlag(cfg, std):
     if hasCompileFlag(cfg, "-std=" + std):
         return "-std=" + std
+    fallbacks = {
+        "c++29": "c++2d",
----------------
philnik777 wrote:

IMO that's a bad idea. I don't know about C, but C++ has been regular for the last 5 releases now and not adding the flag just makes maintenance harder for people. Either way, if there is no request to change it I don't think minds will change.

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


More information about the llvm-commits mailing list