Skip to content

Commit 3817320

Browse files
zyn0217xgupta
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 af75148 commit 3817320

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
@@ -1174,6 +1174,10 @@ Bug Fixes to C++ Support
11741174
- Fix a crash when an unresolved overload set is encountered on the RHS of a ``.*`` operator.
11751175
(`#53815 <https://github.com/llvm/llvm-project/issues/53815>`_)
11761176

1177+
- Fixed a regression in CTAD that a friend declaration that befriends itself may cause
1178+
incorrect constraint substitution.
1179+
(`#86769 <https://github.com/llvm/llvm-project/issues/86769>`_)
1180+
11771181
Bug Fixes to AST Handling
11781182
^^^^^^^^^^^^^^^^^^^^^^^^^
11791183
- Clang now properly preserves ``FoundDecls`` within a ``ConceptReference``. (#GH82628)

0 commit comments

Comments
 (0)