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)
1703
1703
case PlatformKind::OSX:
1704
1704
case PlatformKind::OSXApplicationExtension:
1705
1705
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" ;
1707
1707
break ;
1708
1708
1709
1709
default :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Foundation
6
6
import AvailabilityExtras
7
7
8
8
func 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}}
10
10
}
11
11
12
12
func test_swift_unavailable_wins( ) {
Original file line number Diff line number Diff line change @@ -7014,7 +7014,7 @@ var FooSubUnnamedEnumeratorA1: Int { get }
7014
7014
key.kind: source.lang.swift.attribute.availability,
7015
7015
key.platform: source.availability.platform.osx,
7016
7016
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",
7018
7018
key.deprecated: "10.1"
7019
7019
}
7020
7020
],
You can’t perform that action at this time.
0 commit comments