Skip to content

Commit

Permalink
[clang][Sema] Fix a CTAD regression after 42239d2 (llvm#86914)
Browse files Browse the repository at this point in the history
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 llvm#86769
  • Loading branch information
zyn0217 authored and Shivam Gupta committed Sep 2, 2024
1 parent b2306e2 commit 3a7c652
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@ Bug Fixes to C++ Support
- Fix a crash when an unresolved overload set is encountered on the RHS of a ``.*`` operator.
(`#53815 <https://github.com/llvm/llvm-project/issues/53815>`_)

- Fixed a regression in CTAD that a friend declaration that befriends itself may cause
incorrect constraint substitution.
(`#86769 <https://github.com/llvm/llvm-project/issues/86769>`_)

Bug Fixes to AST Handling
^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 3a7c652

Please sign in to comment.