Commit 061aa96
committed
[Sema] Handle AttributedType in template deduction with derived-to-base conversions
Fix #134356.
We accidentally skipped checking derived-to-base conversions because
deduction did not strip sugar in the relevant code. This caused deduction
failures when a parameter type had an attribute.1 parent 61ef286 commit 061aa96
File tree
2 files changed
+17
-1
lines changed- clang
- lib/Sema
- test/Sema
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4446 | 4446 | | |
4447 | 4447 | | |
4448 | 4448 | | |
4449 | | - | |
| 4449 | + | |
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments