Commit 23cafdf
[clang] CTAD: Remove an incorrect assertion in BuildDeductionGuideForTypeAlias (llvm#126532)
Fixes llvm#125821
The assertion was too strict, as Clang can reach this code path when
recursively generating deduction guides for alias templates. See the
detailed explanation
[here](llvm#125821 (comment)).
No release notes needed, as there is no behavior change in release
builds.1 parent 41f11d6 commit 23cafdf
File tree
2 files changed
+14
-2
lines changed- clang
- lib/Sema
- test/SemaCXX
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
1001 | | - | |
1002 | | - | |
1003 | 1001 | | |
1004 | 1002 | | |
1005 | 1003 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
0 commit comments