Skip to content

Commit 4953674

Browse files
authored
Revert "Check that DomainName is empty in isOtherPlatformSpec"
This reverts commit 41a9f5e.
1 parent 265910e commit 4953674

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/include/clang/AST/Availability.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ class AvailabilitySpec {
6060
SourceLocation getEndLoc() const { return EndLoc; }
6161

6262
/// Returns true when this represents the '*' case.
63-
bool isOtherPlatformSpec() const {
64-
return Version.empty() && DomainName.empty();
65-
}
63+
bool isOtherPlatformSpec() const { return Version.empty(); }
6664

6765
bool isDomainName() const { return !DomainName.empty(); }
6866
StringRef getDomainName() const { return DomainName; }

0 commit comments

Comments
 (0)