mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Introduce a SemanticAvailableAttr::isNoAsync() convenience.
This commit is contained in:
@@ -3197,6 +3197,9 @@ public:
|
||||
/// `PlatformKind::none` if the attribute is not platform specific.
|
||||
PlatformKind getPlatformKind() const { return getDomain().getPlatformKind(); }
|
||||
|
||||
/// Whether this is a `noasync` attribute.
|
||||
bool isNoAsync() const { return attr->isNoAsync(); }
|
||||
|
||||
/// Whether this attribute has an introduced, deprecated, or obsoleted
|
||||
/// version.
|
||||
bool isVersionSpecific() const {
|
||||
|
||||
Reference in New Issue
Block a user