[SourceKit] Report macCatalyst availability as macCatalyst rather than iOS

Resolves rdar://problem/60918688
This commit is contained in:
Nathan Hawes
2020-05-01 09:42:20 -07:00
parent 5239668b29
commit c426b1d6d9
6 changed files with 236 additions and 1 deletions

View File

@@ -630,7 +630,7 @@ static void reportAttributes(ASTContext &Ctx,
case PlatformKind::iOS:
PlatformUID = PlatformIOS; break;
case PlatformKind::macCatalyst:
PlatformUID = PlatformIOS; break;
PlatformUID = PlatformMacCatalyst; break;
case PlatformKind::OSX:
PlatformUID = PlatformOSX; break;
case PlatformKind::tvOS: