[clang] [clang][CodeGen] Zero init unspecified fields in initializers in C (PR #97121)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 27 13:43:06 PDT 2024
================
@@ -5819,3 +5819,24 @@ specify the starting offset to begin embedding from. The resources is treated
as being empty if the specified offset is larger than the number of bytes in
the resource. The offset will be applied *before* any ``limit`` parameters are
applied.
+
+Union and aggregate initialization in C
+=======================================
+
+In C23 (N2900), when an object is initialized from initializer ``= {}``, all
----------------
efriedma-quic wrote:
Probably should explicitly mention we don't do this in C++.
https://github.com/llvm/llvm-project/pull/97121
More information about the cfe-commits
mailing list