mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove AvailableAttr::getPlatform().
I can't believe it's really happening.
This commit is contained in:
@@ -792,9 +792,6 @@ public:
|
||||
/// Whether this attribute was spelled `@_unavailableInEmbedded`.
|
||||
bool isForEmbedded() const { return Bits.AvailableAttr.IsForEmbedded; }
|
||||
|
||||
/// Returns the platform that the attribute applies to (may be `none`).
|
||||
PlatformKind getPlatform() const { return Domain.getPlatformKind(); }
|
||||
|
||||
/// Returns the `AvailabilityDomain` associated with the attribute, or
|
||||
/// `std::nullopt` if it has either not yet been resolved or could not be
|
||||
/// resolved successfully.
|
||||
|
||||
Reference in New Issue
Block a user