AST: Introduce a Swift runtime availability domain.

Add support for the `Swift` availability domain, which represents availability
with respect to the Swift runtime. Use of this domain is restricted by the
experimental feature `SwiftRuntimeAvailability`.
This commit is contained in:
Allan Shortlidge
2025-10-07 22:38:41 -07:00
parent 2d8465b043
commit 1a86cd9c26
19 changed files with 213 additions and 48 deletions

View File

@@ -188,6 +188,9 @@ namespace swift {
/// Swift runtime version to compile for.
version::Version RuntimeVersion = version::Version::getCurrentLanguageVersion();
/// The minimum Swift runtime version that the progam can be deployed to.
version::Version MinSwiftRuntimeVersion;
/// PackageDescription version to compile for.
version::Version PackageDescriptionVersion;