Commit 9aee3cc
committed
[cxx-interop][SwiftCompilerSources] Remove incorrect
`swift::Decl` and its inheritors should be treated as foreign reference types in Swift, meaning pointers to them (`Decl*`) should be mapped to Swift classes. This can be done by applying `SWIFT_UNSAFE_REFERENCE` attribute to the `swift::Decl` types. However, at the moment these functions don't seem to be used from Swift, so this change just removes the `SWIFT_IMPORT_UNSAFE` attributes.SWIFT_IMPORT_UNSAFE
1 parent 9ee34df commit 9aee3cc
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | 246 | | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
251 | 250 | | |
252 | | - | |
253 | 251 | | |
254 | 252 | | |
255 | 253 | | |
256 | 254 | | |
257 | 255 | | |
258 | | - | |
259 | 256 | | |
260 | 257 | | |
261 | 258 | | |
| |||
286 | 283 | | |
287 | 284 | | |
288 | 285 | | |
289 | | - | |
290 | 286 | | |
291 | 287 | | |
292 | 288 | | |
293 | 289 | | |
294 | 290 | | |
295 | 291 | | |
296 | 292 | | |
297 | | - | |
298 | 293 | | |
299 | 294 | | |
300 | 295 | | |
| |||
0 commit comments