[all-commits] [llvm/llvm-project] 68786f: [Sema] Fix friend destructor declarations after D1...

Roy Jacobson via All-commits all-commits at lists.llvm.org
Tue Aug 16 12:28:34 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68786f06327519b30ab3ee2ba27451ec051bbb6f
  Author: Roy Jacobson <roi.jacobson1 at gmail.com>
  Date:   2022-08-16 (Tue, 16 Aug 2022)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaCXX/member-class-11.cpp

  Log Message:
  [Sema] Fix friend destructor declarations after D130936

I accidentally broke friend destructor declarations in D130936.

Modify it to skip performing the destructor name check if we have a dependent friend declaration.

Reviewed By: hubert.reinterpretcast

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

More information about the All-commits mailing list