AST: Promote AssociatedTypeAvailability feature to the baseline.

This commit is contained in:
Allan Shortlidge
2024-07-08 21:12:58 -07:00
parent 588a7db17c
commit 6f972fc275
4 changed files with 2 additions and 20 deletions

View File

@@ -150,11 +150,6 @@ static bool usesFeaturePrimaryAssociatedTypes2(Decl *decl) {
return false;
}
static bool usesFeatureAssociatedTypeAvailability(Decl *decl) {
return isa<AssociatedTypeDecl>(decl) &&
decl->getAttrs().hasAttribute<AvailableAttr>();
}
static bool isImplicitRethrowsProtocol(const ProtocolDecl *proto) {
return proto->isSpecificProtocol(KnownProtocolKind::AsyncSequence) ||
proto->isSpecificProtocol(KnownProtocolKind::AsyncIteratorProtocol);