Commits

Jordan Rose committed 9e9c80e0903
Add a @_versioned attribute for testing resilience. 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.)