mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ownership is truly a property not of a declaration, but of a function body. So it makes sense to just match what we deserialize. This also helps us to avoid mismatches if we lower ownership from a function, delete it, and then relink it. I also used this as an opportunity to clean up where we set that flag in deserialization to only happen in one place for both declarations/definitions.
1.5 KiB
1.5 KiB