Commit Graph

2 Commits

Author SHA1 Message Date
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
Argyrios Kyrtzidis
32f5d12c24 [parser] '@available' attributes written in code should not be 'implicit'
'implicit' implies it was not written by the user. This was preventing printing '@available'
for interfaces of Swift code (e.g. from overlays).

rdar://35778715
2017-11-30 12:47:22 -08:00