Commit d02786e
authored
[Sema] Handle AttributedType in template deduction with derived-to-base conversions (llvm#134361)
Fix llvm#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 547d054 commit d02786e
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 | |
|---|---|---|---|
| |||
4447 | 4447 | | |
4448 | 4448 | | |
4449 | 4449 | | |
4450 | | - | |
| 4450 | + | |
4451 | 4451 | | |
4452 | 4452 | | |
4453 | 4453 | | |
| |||
| 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