mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This mechanism is used for imported functions with bodies synthesized by the ClangImporter, as well as on-demand accessors synthesized when required for a protocol conformance (eg, a _read accessor, or a _modify on a property whose opaque access pattern doesn't use a _modify, such as an @objc dynamic property). Previously this was intertwined with the 'delayed function' mechanism, which is similar, but used for a different case -- implicit functions inside the same translation unit. Untangle these to allow further simplifications.
7.6 KiB
7.6 KiB