Commit 4ad4d34
authored
Revert [Clang] prevent errors for deduction guides using deduced type aliases (#118165)
Reverts #117450
---
Revert #117450 because the
prior behavior aligns with the standard - _`template-name`_ in the
_`simple-template-id`_ in the return type shall be the actual name of a
class template rather than some equivalent alias template. Details
#54909 (comment).1 parent aa7fe1c commit 4ad4d34
File tree
3 files changed
+18
-35
lines changed- clang
- docs
- lib/Sema
- test/CXX/temp/temp.deduct.guide
3 files changed
+18
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | 629 | | |
633 | 630 | | |
634 | 631 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11451 | 11451 | | |
11452 | 11452 | | |
11453 | 11453 | | |
11454 | | - | |
11455 | | - | |
11456 | | - | |
11457 | | - | |
11458 | | - | |
11459 | | - | |
11460 | | - | |
11461 | | - | |
11462 | | - | |
11463 | | - | |
11464 | | - | |
11465 | | - | |
11466 | | - | |
11467 | | - | |
11468 | | - | |
11469 | | - | |
11470 | | - | |
11471 | | - | |
11472 | | - | |
11473 | | - | |
11474 | | - | |
11475 | | - | |
11476 | | - | |
| 11454 | + | |
| 11455 | + | |
| 11456 | + | |
| 11457 | + | |
| 11458 | + | |
| 11459 | + | |
| 11460 | + | |
| 11461 | + | |
| 11462 | + | |
| 11463 | + | |
| 11464 | + | |
| 11465 | + | |
| 11466 | + | |
| 11467 | + | |
| 11468 | + | |
| 11469 | + | |
| 11470 | + | |
11477 | 11471 | | |
11478 | 11472 | | |
11479 | 11473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
0 commit comments