mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Refactor the PlatformAvailability logic for determining which Clang availability attributes are relevant when importing. The goal is to separate the logic for attribute relevance for a given platform from the logic to determine whether a deprecated attribute should be imported as unavailable in Swift. This also makes it possible for the "deprecated-as-unavailable" logic to refer to the underlying Clang declaration, which is functionality that will be used in a later commit. This commit has no intended functional change. Part of rdar://problem/48348822
25 KiB
25 KiB