[PATCH] D126864: [clang] Introduce -fstrict-flex-arrays=<n> for stricter handling of flexible arrays
Stephan Bergmann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 22:49:40 PDT 2022
sberg added a comment.
In D126864#3698798 <https://reviews.llvm.org/D126864#3698798>, @sberg wrote:
> I'm surprised that
[...]
> causes a warning? I would have expected it to be suppressed in this case, as with the lax `-fstrict-flex-arrays=0` default, and only to hit with the stricter `-fstrict-flex-arrays=2`.
appears to be addressed with https://reviews.llvm.org/D132853 "[clang] Fix -Warray-bound interaction with -fstrict-flex-arrays=1", thanks
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126864/new/
https://reviews.llvm.org/D126864
More information about the cfe-commits
mailing list