mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user