diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2023-10-23 08:05:48 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2023-10-23 08:07:59 -0400 |
commit | f8d448d5e587a23886c3226957f880146a4d8c69 (patch) | |
tree | cdb657c7933c73a0cf83deb32416ac63f2a2ad58 /clang/lib/Basic/SourceManager.cpp | |
parent | b507509f6a938f3eb74b39c381327841d9fa46b1 (diff) | |
download | llvm-f8d448d5e587a23886c3226957f880146a4d8c69.zip llvm-f8d448d5e587a23886c3226957f880146a4d8c69.tar.gz llvm-f8d448d5e587a23886c3226957f880146a4d8c69.tar.bz2 |
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.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions