1 Commits

Author SHA1 Message Date
Aaron Ballman
f8d448d5e5 Correct behavior of VLA extension diagnostic in C89 mode
Post-commit feedback (https://reviews.llvm.org/D156565#4654773) found
that the changes in 84a3aadf0f2483dde0acfc4e79f2a075a5f35bd1 caused us
to diagnose use of VLAs in C89 mode by default which was an unintended
change.

This adds -Wvla-cxx-extension as a warning group and adds the C++-
specific warnings to it while leaving the C warnings under
-Wvla-extension. -Wvla-cxx-extension is then added to -Wall.
2023-10-23 08:07:59 -04:00