[clang] [Clang] Add flags and lang option for C++2d (PR #203992)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 29 09:50:34 PDT 2026
================
@@ -191,6 +191,19 @@ LANGSTANDARD(gnucxx26, "gnu++2c",
CPlusPlus20 | CPlusPlus23 | CPlusPlus26 | Digraphs | HexFloat | GNUMode, 202400)
LANGSTANDARD_ALIAS(gnucxx26, "gnu++26")
+// FIXME: Use correct version code for C++29 once published.
+LANGSTANDARD(cxx29, "c++2d",
+ CXX, "Working draft for C++2d",
+ LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 |
+ CPlusPlus20 | CPlusPlus23 | CPlusPlus26 | CPlusPlus29 | Digraphs | HexFloat, 202700)
----------------
Sirraide wrote:
clang-format doesn’t do these `.def` files for whatever reason, so I had to reflow this one manually
https://github.com/llvm/llvm-project/pull/203992
More information about the cfe-commits
mailing list