[all-commits] [llvm/llvm-project] b206cd: [Clang][Attributes] Add MeaningfulToClassTemplateD...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Thu Apr 6 14:42:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b206cde3504c0078469f02bd74aeb5eb5ab875f5
      https://github.com/llvm/llvm-project/commit/b206cde3504c0078469f02bd74aeb5eb5ab875f5
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    M clang/test/SemaCXX/attr-unavailable.cpp

  Log Message:
  -----------
  [Clang][Attributes] Add MeaningfulToClassTemplateDefinition to unavailable attribute

There may be cases in which we want to diagnose a type as unavailable but it may
not be complete at the time. Setting MeaningfulToClassTemplateDefinition fixes
this issue.

This fixes: https://github.com/llvm/llvm-project/issues/61815

Differential Revision: https://reviews.llvm.org/D147495




More information about the All-commits mailing list