AST: Remove AvailableAttr::getPlatform().

I can't believe it's really happening.
This commit is contained in:
Allan Shortlidge
2025-01-10 18:31:57 -08:00
parent 51aaacceb7
commit c0e01dcfee
2 changed files with 1 additions and 4 deletions

View File

@@ -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.