Skip to content

Commit e881a44

Browse files
committed
AST: Upstream missing future availability range for visionOS.
1 parent a3075da commit e881a44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/AST/Availability.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,9 @@ AvailabilityRange ASTContext::getSwiftFutureAvailability() const {
689689
} else if (target.isWatchOS()) {
690690
return AvailabilityRange(
691691
VersionRange::allGTE(llvm::VersionTuple(99, 99, 0)));
692+
} else if (target.isXROS()) {
693+
return AvailabilityRange(
694+
VersionRange::allGTE(llvm::VersionTuple(99, 0, 0)));
692695
} else {
693696
return AvailabilityRange::alwaysAvailable();
694697
}

0 commit comments

Comments
 (0)