[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:47:59 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:
I added this machinery for compatibility diagnostics only a few months ago because getting the wording and diagnostic groups right is really finnicky (we had a few that were using the wrong groups), so I’m not surprised if you don’t recognise it haha
https://github.com/llvm/llvm-project/pull/169681
More information about the llvm-branch-commits
mailing list