[all-commits] [llvm/llvm-project] b8266f: Correct the __has_c_attribute value for fallthrough

Aaron Ballman via All-commits all-commits at lists.llvm.org
Tue Sep 13 08:09:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8266f512a6218e8319379b65a637fa82b3900f6
      https://github.com/llvm/llvm-project/commit/b8266f512a6218e8319379b65a637fa82b3900f6
  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-fallthrough.c

  Log Message:
  -----------
  Correct the __has_c_attribute value for fallthrough

The original proposal was seen in Apr 2019 and we accidentally used
that date (201904L) as the feature testing value. However, WG14 N2408
was adopted at the Oct 2019 meeting and so that's the correct date for
the feature testing macro. The committee draft for C2x shows 201910L
for this value, so this changes brings us in line with the standard.




More information about the All-commits mailing list