File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1703,7 +1703,7 @@ PlatformAvailability::PlatformAvailability(LangOptions &langOpts)
17031703 case PlatformKind::OSX:
17041704 case PlatformKind::OSXApplicationExtension:
17051705 deprecatedAsUnavailableMessage =
1706- " APIs deprecated as of OS X 10.9 and earlier are unavailable in Swift" ;
1706+ " APIs deprecated as of macOS 10.9 and earlier are unavailable in Swift" ;
17071707 break ;
17081708
17091709 default :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Foundation
66import AvailabilityExtras
77
88func test_unavailable_because_deprecated( ) {
9- _ = NSRealMemoryAvailable ( ) // expected-error {{APIs deprecated as of OS X 10.9 and earlier are unavailable in Swift}}
9+ _ = NSRealMemoryAvailable ( ) // expected-error {{APIs deprecated as of macOS 10.9 and earlier are unavailable in Swift}}
1010}
1111
1212func test_swift_unavailable_wins( ) {
Original file line number Diff line number Diff line change @@ -7014,7 +7014,7 @@ var FooSubUnnamedEnumeratorA1: Int { get }
70147014 key.kind: source.lang.swift.attribute.availability,
70157015 key.platform: source.availability.platform.osx,
70167016 key.is_unavailable: 1,
7017- key.message: "APIs deprecated as of OS X 10.9 and earlier are unavailable in Swift",
7017+ key.message: "APIs deprecated as of macOS 10.9 and earlier are unavailable in Swift",
70187018 key.deprecated: "10.1"
70197019 }
70207020 ],
You can’t perform that action at this time.
0 commit comments