mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Most of the logic for C++ foreign reference types can be applied to C types as well. Swift had a compiler flag `-Xfrontend -experimental-c-foreign-reference-types` for awhile now which enables foreign reference types without having to enable C++ interop. This change makes it the default behavior. Since we don't expect anyone to pass `experimental-c-foreign-reference-types` currently, this also removes the frontend flag. rdar://150308819
169 KiB
169 KiB