[all-commits] [llvm/llvm-project] 0604d1: [Clang] Add [[clang::no_specializations]] (#101469)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Nov 28 01:13:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0604d13790b20f6b385507bb63c62aa87162da9b
      https://github.com/llvm/llvm-project/commit/0604d13790b20f6b385507bb63c62aa87162da9b
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    A clang/test/SemaCXX/attr-no-specializations.cpp

  Log Message:
  -----------
  [Clang] Add [[clang::no_specializations]] (#101469)

This can be used to inform users when a template should not be
specialized. For example, this is the case for the standard type traits
(except for `common_type` and `common_reference`, which have more
complicated rules).



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