[all-commits] [llvm/llvm-project] 76c721: [clang][Sema] Fix a CTAD regression after 42239d2e...

Younan Zhang via All-commits all-commits at lists.llvm.org
Mon Apr 1 14:48:49 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 76c721994a11abe898848699ea82da267ebc8320
      https://github.com/llvm/llvm-project/commit/76c721994a11abe898848699ea82da267ebc8320
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-04-01 (Mon, 01 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaTemplate/concepts-friends.cpp
    M clang/test/SemaTemplate/ctad.cpp

  Log Message:
  -----------
  [clang][Sema] Fix a CTAD regression after 42239d2e9 (#86914)

The most recent declaration of a template as a friend can introduce a
different template parameter depth compared to what we anticipate from a
CTAD guide.

Fixes https://github.com/llvm/llvm-project/issues/86769



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