================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits