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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 10:19:24 PDT 2024


================
@@ -1419,6 +1419,35 @@ is not specified.
   }];
 }
 
+def ExplicitInitDocs : Documentation {
----------------
erichkeane wrote:

This is a little lacking for me?  Semantics, limitations, examples of how this is intended to be used, warnings about 'make sure you own the type' sorta thing would be appreciated.

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


More information about the cfe-commits mailing list