Commit 40d2f39
authored
[Sema][ObjC] Loosen restrictions on reinterpret_cast involving indirect ARC-managed pointers (llvm#144458)
Allow using reinterpret_cast for conversions between indirect ARC
pointers and other pointer types.
rdar://1529053991 parent 9db7502 commit 40d2f39
File tree
5 files changed
+41
-11
lines changed- clang
- docs
- include/clang/Sema
- lib/Sema
- test/SemaObjCXX
5 files changed
+41
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
330 | 333 | | |
331 | 334 | | |
332 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | | - | |
| 815 | + | |
| 816 | + | |
816 | 817 | | |
817 | 818 | | |
818 | 819 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
169 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
1263 | 1265 | | |
1264 | 1266 | | |
1265 | 1267 | | |
1266 | | - | |
| 1268 | + | |
| 1269 | + | |
1267 | 1270 | | |
1268 | 1271 | | |
1269 | 1272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4390 | 4390 | | |
4391 | 4391 | | |
4392 | 4392 | | |
4393 | | - | |
| 4393 | + | |
4394 | 4394 | | |
4395 | 4395 | | |
4396 | 4396 | | |
| |||
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
| 4453 | + | |
| 4454 | + | |
4453 | 4455 | | |
4454 | 4456 | | |
4455 | | - | |
| 4457 | + | |
| 4458 | + | |
4456 | 4459 | | |
4457 | 4460 | | |
4458 | | - | |
4459 | | - | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
4460 | 4464 | | |
4461 | 4465 | | |
4462 | 4466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
75 | 96 | | |
76 | 97 | | |
77 | 98 | | |
| |||
194 | 215 | | |
195 | 216 | | |
196 | 217 | | |
197 | | - | |
198 | | - | |
199 | 218 | | |
200 | 219 | | |
201 | 220 | | |
| |||
0 commit comments