[PATCH] D137343: [clang] add -Wvla-stack-allocation

Martin Uecker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 11 12:23:03 PST 2022


uecker added a comment.

I would still suggest to change the behavior of -Wvla  to warn only about VLAs which are allocated on the stack as the most useful warning. Portability warnings should be turned on for -Wc++-compat.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137343/new/

https://reviews.llvm.org/D137343



More information about the cfe-commits mailing list