diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2024-08-23 15:38:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 15:38:21 -0400 |
commit | c505ce9df7006edabf402a73782121c44b697289 (patch) | |
tree | 8a93527063a7d496dda4ee940c6c615c2ee996cf /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | 52a7116f5c6ada234f47f7794aaf501a3692b997 (diff) | |
download | llvm-c505ce9df7006edabf402a73782121c44b697289.zip llvm-c505ce9df7006edabf402a73782121c44b697289.tar.gz llvm-c505ce9df7006edabf402a73782121c44b697289.tar.bz2 |
Deprecate -fheinous-gnu-extensions; introduce a new warning flag (#105821)
The new warning flag is `-Winvalid-gnu-asm-cast`, which is enabled by
default and is a downgradable diagnostic which defaults to an error.
This language dialect flag only controls whether a single diagnostic is
emitted as a warning or as an error, and has never been expanded to
include other behaviors. Given the rather perjorative name, it's better
for us to just expose a diagnostic flag for the one warning in question
and let the user elect to do `-Wno-error=` if they need to.
There's not a lot of use of the language dialect flag in the wild, but
there is some use of it. For the time being, this aliases the -f flag to
`-Wno-error=invalid-gnu-asm-cast`, but the -f flag can eventually be
removed.
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions