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 a3075da commit e881a44Copy full SHA for e881a44
lib/AST/Availability.cpp
@@ -689,6 +689,9 @@ AvailabilityRange ASTContext::getSwiftFutureAvailability() const {
689
} else if (target.isWatchOS()) {
690
return AvailabilityRange(
691
VersionRange::allGTE(llvm::VersionTuple(99, 99, 0)));
692
+ } else if (target.isXROS()) {
693
+ return AvailabilityRange(
694
+ VersionRange::allGTE(llvm::VersionTuple(99, 0, 0)));
695
} else {
696
return AvailabilityRange::alwaysAvailable();
697
}
0 commit comments