mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user