[Stdlib] Silence all warnings about deprecated @objc inference.

This eliminates 26 Objective-C entry points that we never intended to expose, but that came “for free” with the @objc inference rules.
This commit is contained in:
Doug Gregor
2017-03-28 17:16:29 -07:00
parent 79440cd7f4
commit cc225eb9fa
5 changed files with 41 additions and 8 deletions

View File

@@ -492,7 +492,7 @@ class _SwiftNativeNSEnumerator {}
// FIXME(ABI)#60 : move into the Foundation overlay and remove 'open'
@objc @_swift_native_objc_runtime_base(_SwiftNativeNSDataBase)
open class _SwiftNativeNSData {
public init() {}
@objc public init() {}
}
//===----------------------------------------------------------------------===//