[clang] Add Clang attribute to ensure that fields are initialized explicitly (PR #102040)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 10:20:11 PST 2024


================
@@ -3141,6 +3148,10 @@ def warn_attribute_ignored_no_calls_in_stmt: Warning<
   "statement">,
   InGroup<IgnoredAttributes>;
 
+def warn_attribute_needs_aggregate : Warning<
----------------
AaronBallman wrote:

Okay, that seems reasonable to me, thanks!

https://github.com/llvm/llvm-project/pull/102040


More information about the cfe-commits mailing list