[clang] [C] Warn on uninitialized const objects (PR #137166)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon May 19 09:00:04 PDT 2025
AaronBallman 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: [#19297 (comment)](https://github.com/llvm/llvm-project/issues/19297#issuecomment-2891497853)
Thank you for pointing this out, I'll investigate.
https://github.com/llvm/llvm-project/pull/137166
More information about the cfe-commits
mailing list