mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Reject version specs in @available attributes for custom domains.
This commit is contained in:
@@ -190,6 +190,10 @@ public:
|
||||
return PlatformKind::none;
|
||||
}
|
||||
|
||||
/// Returns true if availability for this domain can be specified in terms of
|
||||
/// version ranges.
|
||||
bool isVersioned() const;
|
||||
|
||||
/// Returns true if this domain is considered active in the current
|
||||
/// compilation context.
|
||||
bool isActive(const ASTContext &ctx) const;
|
||||
|
||||
Reference in New Issue
Block a user