AST: Introduce a SemanticAvailableAttr::isNoAsync() convenience.

This commit is contained in:
Allan Shortlidge
2024-12-19 10:59:52 -08:00
parent ff83bf3f60
commit 0de339db1c
3 changed files with 8 additions and 8 deletions

View File

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