[clang] [Clang][C2y] Add support for if declarations (N3356 paper) (PR #198244)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 02:39:08 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<
----------------
cor3ntin wrote:
@Sirraide
https://github.com/llvm/llvm-project/pull/198244
More information about the cfe-commits
mailing list