Files
swift-mirror/test/IDE/Inputs/print_clang_header/header-to-print-availability.h.module.printed.txt
Nathan Hawes 9bcb54910e [AST] Prefer the 'macOS' spelling over 'OSX' when printing the platform kind.
This affects module interfaces, interface generation in sourcekitd, and
diagnostics. Also fixes a fixit that was assuming the 'OSX' spelling when
computing the source range to replace.

Resolves rdar://problem/64667960
2020-07-08 13:51:25 -07:00

19 lines
525 B
Plaintext

class MaybeAvailable {
@available(macOS 10.1, *)
class func method1()
@available(macOS 10.1, *)
func method1()
@available(macOS 10.1, *)
class func method2()
@available(macOS 10.1, *)
func method2()
@available(macOS, deprecated: 10.10)
class func method3()
@available(macOS, deprecated: 10.10)
func method3()
@available(macOS, introduced: 10.1, deprecated: 10.10, obsoleted: 10.11)
class func method4()
@available(macOS, introduced: 10.1, deprecated: 10.10, obsoleted: 10.11)
func method4()
}