[clang] [clang] Implement -Walloc-size diagnostic option (PR #150028)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 11 13:14:07 PDT 2025


cmtice wrote:

It also appears to have issues when the thing receiving the malloc is defined as a union, and the malloc allocates only the size of one of the smaller union options.

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


More information about the cfe-commits mailing list