Files
swift-mirror/lib/Macros
Henrik G. Olsson a4366f63e1 [Swiftify] handle ~Escapable return values
This adds support for safe wrappers on imported functions returning a
~Escapable value. This is only done if there is lifetime information for
the return value, as the wrapper will always have a lifetime error
otherwise. __lifetimebound is also ignored *unless* the return value is
~Escapable (or will be transformed to a Span), since lifetime info for
an Escapable return value is an error. To enable testing this it also
adds merging of lifetime annotations from the underlying funciton and
the extra info added by the macro.

rdar://157884394
2026-02-06 23:07:08 -08:00
..
2025-10-10 17:00:25 -07:00