[clang] [clang:frontend] Add `-Wbit-cast-padding` default warning (PR #200362)
Jan Schultke via cfe-commits
cfe-commits at lists.llvm.org
Fri May 29 21:23:00 PDT 2026
eisenwave wrote:
> We already have code for finding padding (see #75371); can we share the code?
Oh wow, yeah, it looks like we can. The only issue is that the `PaddingClearer` only gives you padding intervals but not union intervals (not sure why), but finding the union intervals is relatively trivial compared to finding padding intervals.
https://github.com/llvm/llvm-project/pull/200362
More information about the cfe-commits
mailing list