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 5, 2024
1 parent 170f825 commit 62cec09
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 @@ -400,6 +400,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 62cec09

Please sign in to comment.