[AST] Rename PlatformKind::OSX to PlatformKind::macOS

Because the names are coming from a .def file used for printing too, this
simplifies the printing logic as well.
This commit is contained in:
Nathan Hawes
2020-07-08 15:47:06 -07:00
parent 9bcb54910e
commit 244dc4a768
14 changed files with 33 additions and 43 deletions

View File

@@ -1331,7 +1331,7 @@ SDKNodeInitInfo::SDKNodeInitInfo(SDKContext &Ctx, Decl *D):
SugaredGenericSig(Ctx.checkingABI()?
printGenericSignature(Ctx, D, /*Canonical*/false):
StringRef()),
IntromacOS(Ctx.getPlatformIntroVersion(D, PlatformKind::OSX)),
IntromacOS(Ctx.getPlatformIntroVersion(D, PlatformKind::macOS)),
IntroiOS(Ctx.getPlatformIntroVersion(D, PlatformKind::iOS)),
IntrotvOS(Ctx.getPlatformIntroVersion(D, PlatformKind::tvOS)),
IntrowatchOS(Ctx.getPlatformIntroVersion(D, PlatformKind::watchOS)),