[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 2: Parsing and Parser Tests) (PR #169681)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 1 07:43:05 PST 2025
================
@@ -16,6 +16,10 @@ let CategoryName = "Parse Issue" in {
defm enum_fixed_underlying_type : CXX11Compat<
"enumeration types with a fixed underlying type are",
/*ext_warn=*/false>;
+
+// C++26 compatibility with C++23.
+defm expansion_statements : CXX26Compat<
+ "expansion statements are">;
----------------
Sirraide wrote:
> is this particularly deep, or needs filling in :) ?
Ha, this is a compatibility diagnostic; those do look a bit silly out of context: `CXX26Compat` appends ‘a C++26 extension’ etc. to this, so the entire message ends up being ‘expansion statements are a C++26 extension’.
https://github.com/llvm/llvm-project/pull/169681
More information about the llvm-branch-commits
mailing list