[clang] [Clang] Diagnose require_explicit_initialization for C tentative definitions (PR #234210)

Pathri Vidya Praveen via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 22 06:56:48 PDT 2026


================
@@ -419,6 +419,10 @@ features cannot lower the translation-unit ABI level;
 
 ### Improvements to Clang's diagnostics
 
+- Fixed missing `-Wuninitialized-explicit-init` warnings for C file-scope
+  tentative definitions containing fields marked `require_explicit_initialization`.
----------------
PathriVidyaPraveen wrote:

Done, thanks!

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


More information about the cfe-commits mailing list