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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 24 05:19:04 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",
----------------
frederick-vs-ja wrote:

It was intended (at least by @AaronBallman) not to add proper `-std=c++29` for now moment. See https://github.com/llvm/llvm-project/issues/184053#issuecomment-3984266777 and https://github.com/llvm/llvm-project/pull/203992#discussion_r3461211905.

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


More information about the libcxx-commits mailing list