Commit 9f9fdd9
committed
[cxx-interop] Avoid treating some Obj-C types as foreign reference types
This makes sure we don't apply logic that is specific to C++ reference types to Objective-C types.
Previously we were mistakenly treating some Objective-C types as foreign reference types. This meant that IRGen would try to emit calls to custom lifetime operations. This should not happen for non-C++ types.
rdar://1284470461 parent 764ba94 commit 9f9fdd9
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6355 | 6355 | | |
6356 | 6356 | | |
6357 | 6357 | | |
6358 | | - | |
| 6358 | + | |
| 6359 | + | |
| 6360 | + | |
| 6361 | + | |
| 6362 | + | |
| 6363 | + | |
| 6364 | + | |
| 6365 | + | |
6359 | 6366 | | |
6360 | 6367 | | |
6361 | 6368 | | |
| |||
0 commit comments