SE-0106: "macOS" instead of "OSX" in #available, @available, and #if

Merge pull request #3395 from jrose-apple/osx-is-dead-long-live-macos
This commit is contained in:
Jordan Rose
2016-07-08 09:15:51 -07:00
committed by GitHub
11 changed files with 60 additions and 26 deletions

View File

@@ -235,7 +235,10 @@ namespace swift {
/// Returns true if the 'os' platform condition argument represents
/// a supported target operating system.
static bool isPlatformConditionOSSupported(StringRef OSName);
///
/// Note that this also canonicalizes the OS name if the check returns
/// true.
static bool checkPlatformConditionOS(StringRef &OSName);
/// Returns true if the 'arch' platform condition argument represents
/// a supported target architecture.