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 265910e commit 4953674Copy full SHA for 4953674
clang/include/clang/AST/Availability.h
@@ -60,9 +60,7 @@ class AvailabilitySpec {
60
SourceLocation getEndLoc() const { return EndLoc; }
61
62
/// Returns true when this represents the '*' case.
63
- bool isOtherPlatformSpec() const {
64
- return Version.empty() && DomainName.empty();
65
- }
+ bool isOtherPlatformSpec() const { return Version.empty(); }
66
67
bool isDomainName() const { return !DomainName.empty(); }
68
StringRef getDomainName() const { return DomainName; }
0 commit comments