[clang] [C] Warn on uninitialized const objects (PR #137166)
Peter Maydell via cfe-commits
cfe-commits at lists.llvm.org
Mon May 19 08:49:52 PDT 2025
pm215 wrote:
Hi -- it looks like this pullreq may be causing a new spurious warning for the case where the const object is a C flexible array member. In that case there's no memory to initialize, but clang now warns anyway. More details in this comment on the associated bug report: https://github.com/llvm/llvm-project/issues/19297#issuecomment-2891497853
https://github.com/llvm/llvm-project/pull/137166
More information about the cfe-commits
mailing list