mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
9e9c80e090
This attribute is a stand-in for the versioning annotations described in docs/LibraryEvolution.rst; right now it's just present or absent, and its only effect is to make sure versioned internal decls are treated as public at the SIL level. (This functionality already existed for -enable-testing, so it can probably be trusted.) Also, allow inlineable functions to reference transparent and inline-always functions /if/ they're only called immediately (not used as values or partial-applied), since they'll be inlined away before emitting IR. (We should really only allow this /before/ mandatory inlining, but we don't have a separate SIL stage for that.)