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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 11:35:15 PST 2024


================
@@ -29,6 +29,7 @@
 #include "clang/AST/TypeLoc.h"
 #include "clang/AST/UnresolvedSet.h"
 #include "clang/Basic/Diagnostic.h"
+#include "clang/Basic/DiagnosticSema.h"
----------------
AaronBallman wrote:

This suggests the diagnostic should be under DiagnosticASTKinds.td instead.

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


More information about the cfe-commits mailing list