Commit 2d03664
committed
[TypeLowering] Return pseudogeneric @autoreleasing
Previously, when a pseudogeneric function returned a type parameter, it
was unowned. That resulted in invalid OSSA out of SILGen. Here, this
is fixed to use the @autoreleasing convention.
rdar://643752081 parent ed85087 commit 2d03664
File tree
4 files changed
+28
-15
lines changed- lib/SIL/IR
- test
- PrintAsObjC
- SILGen
- Inputs/usr/include
4 files changed
+28
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3797 | 3797 | | |
3798 | 3798 | | |
3799 | 3799 | | |
| 3800 | + | |
3800 | 3801 | | |
3801 | 3802 | | |
3802 | | - | |
3803 | | - | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
3804 | 3806 | | |
3805 | 3807 | | |
3806 | 3808 | | |
| |||
3840 | 3842 | | |
3841 | 3843 | | |
3842 | 3844 | | |
3843 | | - | |
3844 | | - | |
| 3845 | + | |
| 3846 | + | |
| 3847 | + | |
3845 | 3848 | | |
3846 | 3849 | | |
3847 | 3850 | | |
| |||
3871 | 3874 | | |
3872 | 3875 | | |
3873 | 3876 | | |
| 3877 | + | |
| 3878 | + | |
| 3879 | + | |
3874 | 3880 | | |
3875 | 3881 | | |
3876 | | - | |
3877 | | - | |
| 3882 | + | |
| 3883 | + | |
| 3884 | + | |
3878 | 3885 | | |
3879 | 3886 | | |
3880 | 3887 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
0 commit comments