[all-commits] [llvm/llvm-project] 0f59be: [Sema] Mark ineligibility of special member functi...

Roy Jacobson via All-commits all-commits at lists.llvm.org
Fri May 19 07:29:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f59bee3d58f5dc7914d58aa520e65f3ba986705
      https://github.com/llvm/llvm-project/commit/0f59bee3d58f5dc7914d58aa520e65f3ba986705
  Author: Roy Jacobson <roi.jacobson1 at gmail.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaCXX/constrained-special-member-functions.cpp

  Log Message:
  -----------
  [Sema] Mark ineligibility of special member functions correctly

I checked if the member function declaration was a copy constructor, but it's not sufficient; We need to check
the arguments against the instantiated class.

Fixed https://github.com/llvm/llvm-project/issues/62555

Reviewed By: erichkeane

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




More information about the All-commits mailing list