[clang] [Clang][C2y] Add support for if declarations (N3356 paper) (PR #198244)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 13:48:01 PDT 2026
================
@@ -169,6 +169,12 @@ def ext_c2y_generic_with_type_arg : Extension<
def warn_c2y_compat_generic_with_type_arg : Warning<
"passing a type argument as the first operand to '_Generic' is incompatible "
"with C standards before C2y">, InGroup<CPre2yCompat>, DefaultIgnore;
+def warn_c2y_compat_decl_statement : Warning<
----------------
Sirraide wrote:
I’ll look into it
https://github.com/llvm/llvm-project/pull/198244
More information about the cfe-commits
mailing list