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 pradt2 committed Oct 18, 2024
1 parent ecd2cac commit 030c0db
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 @@ -1174,6 +1174,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
^^^^^^^^^^^^^^^^^^^^^^^^^
- Clang now properly preserves ``FoundDecls`` within a ``ConceptReference``. (#GH82628)
Expand Down

0 comments on commit 030c0db

Please sign in to comment.