Skip to content

Commit 9c00054

Browse files
zyn0217Shivam Gupta
authored andcommitted
[clang][Sema] Fix a CTAD regression after 42239d2 (llvm#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 llvm#86769
1 parent 600787f commit 9c00054

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@ Bug Fixes to C++ Support
426426
- Fix a crash when an unresolved overload set is encountered on the RHS of a ``.*`` operator.
427427
(`#53815 <https://github.com/llvm/llvm-project/issues/53815>`_)
428428

429+
- Fixed a regression in CTAD that a friend declaration that befriends itself may cause
430+
incorrect constraint substitution.
431+
(`#86769 <https://github.com/llvm/llvm-project/issues/86769>`_)
432+
429433
Bug Fixes to AST Handling
430434
^^^^^^^^^^^^^^^^^^^^^^^^^
431435

0 commit comments

Comments
 (0)