[all-commits] [llvm/llvm-project] 0f28cf: Correct the __has_c_attribute value for maybe_unused

Aaron Ballman via All-commits all-commits at lists.llvm.org
Tue Sep 13 06:33:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f28cf416d00a0fa0cb6cf572dd7ebbc19529190
      https://github.com/llvm/llvm-project/commit/0f28cf416d00a0fa0cb6cf572dd7ebbc19529190
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    M clang/test/Preprocessor/has_c_attribute.c
    M clang/test/Sema/c2x-maybe_unused.c
    M clang/www/c_status.html

  Log Message:
  -----------
  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.




More information about the All-commits mailing list