[all-commits] [llvm/llvm-project] 853df5: [Concepts] Fix friend duplicate detection when ref...

Erich Keane via All-commits all-commits at lists.llvm.org
Fri Oct 7 06:14:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 853df5e1d63684cbf3bf3da63d3e467003262282
      https://github.com/llvm/llvm-project/commit/853df5e1d63684cbf3bf3da63d3e467003262282
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaConcept.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaTemplate/concepts-friends.cpp

  Log Message:
  -----------
  [Concepts] Fix friend duplicate detection when referencing containing Record

As another regression from the Deferred Concepts Instantiation patch, we
weren't properly detecting that a friend referenced its containing
Record when it referred to it without its template parameters.  This
patch makes sure that we do.




More information about the All-commits mailing list