[all-commits] [llvm/llvm-project] cff9e7: [Clang][NFC] Mark P2552 as implemented. (#92007)

cor3ntin via All-commits all-commits at lists.llvm.org
Mon May 13 21:15:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cff9e77783aceb52da705b7e2b2e45bfbc86c628
      https://github.com/llvm/llvm-project/commit/cff9e77783aceb52da705b7e2b2e45bfbc86c628
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-14 (Tue, 14 May 2024)

  Changed paths:
    A clang/test/SemaCXX/cxx2c-attributes.cpp
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [Clang][NFC] Mark P2552 as implemented. (#92007)

wg21.link/P2552 suggest that __has_cpp_attribute
should return a non-zero value for all attributes that the
implementation does something interesting with.

Clang does something meaninful with all attributes except for:

- no_unique_address which we do not support for msvc target
- carries_dependency which arguably does nothing interesting. P2552
shies away from specifying a behavior for that attribute (despite being
the only one for which a recommandation would have been interesting,
arguably)

As such, we have nothing to change for this paper. This paper is a DR
and clang always behaved reasonably.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list