We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b005bf commit 41a9f5eCopy full SHA for 41a9f5e
clang/include/clang/AST/Availability.h
@@ -60,7 +60,9 @@ class AvailabilitySpec {
60
SourceLocation getEndLoc() const { return EndLoc; }
61
62
/// Returns true when this represents the '*' case.
63
- bool isOtherPlatformSpec() const { return Version.empty(); }
+ bool isOtherPlatformSpec() const {
64
+ return Version.empty() && DomainName.empty();
65
+ }
66
67
bool isDomainName() const { return !DomainName.empty(); }
68
StringRef getDomainName() const { return DomainName; }
0 commit comments