Correct the __has_c_attribute value for maybe_unused
authorAaron Ballman <aaron@aaronballman.com>
Tue, 13 Sep 2022 13:27:13 +0000 (09:27 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 13 Sep 2022 13:33:20 +0000 (09:33 -0400)
commit0f28cf416d00a0fa0cb6cf572dd7ebbc19529190
tree41cec82aedc7654cd3e938c4829a52848c080fc2
parentdf193a1a128d826be2d0d189c1c1fcfed20fd3d7
Correct the __has_c_attribute value for maybe_unused

The original proposal was adopted in Apr 2019, but was subsequently
updated by WG14 N2662 in June 2021. We already supported the attribute
on a label and it behaved as expected, but we had not bumped the
feature test value.
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/Attr.td
clang/test/Preprocessor/has_c_attribute.c
clang/test/Sema/c2x-maybe_unused.c
clang/www/c_status.html