mirror of
https://github.com/apple/swift.git
synced 2026-10-02 10:58:03 +02:00
`getAvailability()` walks the semantic availability attributes of a declaration and records whether the symbol is unavailable or SPI on the target platform. Any attribute that is not platform specific was treated as a fallback that applies to every platform, which meant that attributes in custom availability domains were mishandled. Resolves rdar://185433691.