mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The `ABI` headers had accidentally grown an `#include` into compiler headers, allowing the enum constant values of the `ValueOwnership` enum to leak into the runtime ABI. Sever this inappropriate relationship by declaring a separate `ParameterOwnership` enum with ABI-stable values in the ABI headers, and explicitly converting between the AST and ABI representation where needed. Fixes rdar://122435628.
5.8 KiB
5.8 KiB