[clang] [C2y] Implement WG14 N3409 (PR #130299)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 7 09:10:15 PST 2025
================
@@ -10425,8 +10425,13 @@ def warn_type_safety_null_pointer_required : Warning<
"specified %0 type tag requires a null pointer">, InGroup<TypeSafety>;
// Generic selections.
-def err_assoc_type_incomplete : Error<
- "type %0 in generic association incomplete">;
+def ext_assoc_type_incomplete : Extension<
+ "ISO C requires a complete type in a '_Generic' association; %0 is an "
+ "incomplete type">;
----------------
AaronBallman wrote:
Sure, I can change that!
https://github.com/llvm/llvm-project/pull/130299
More information about the cfe-commits
mailing list