options, '-Wc++[...]-extensions': Remove undefined one-argument 'LangEnabledBy' optio...
authorThomas Schwinge <thomas@codesourcery.com>
Sat, 26 Mar 2022 21:21:14 +0000 (22:21 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 30 Mar 2022 06:57:59 +0000 (08:57 +0200)
commit0087f3600be51167f6bcaf2d887b0ac8a320ede2
tree9b02546f23a42ba7711b6091f570a4118d332d23
parent4319304f61ebc6103e625ad737f55d3ac10d05eb
options, '-Wc++[...]-extensions': Remove undefined one-argument 'LangEnabledBy' option properties

A one-argument form of the 'LangEnabledBy' option property isn't defined,
and effectively appears to be a no-op.  Removing these only changes
'build-gcc/gcc/optionlist' accordingly, but no other generated files.

Clean-up for commit ee336ecb2a7161bc28f6c5343d97870a8d15e177
"c++: Add new warning options for C++ language mismatches".

gcc/c-family/
* c.opt (Wc++11-extensions, Wc++14-extensions, Wc++17-extensions)
(Wc++20-extensions, Wc++23-extensions): Remove 'LangEnabledBy'
option properties.
gcc/c-family/c.opt