Lines Matching refs:PlatformKind

655 static PlatformKind parsePlatformVersion(const ArgList &args) {  in parsePlatformVersion()
659 return PlatformKind::unknown; in parsePlatformVersion()
667 PlatformKind platform = in parsePlatformVersion()
668 StringSwitch<PlatformKind>(lowerDash(platformStr)) in parsePlatformVersion()
669 .Cases("macos", "1", PlatformKind::macOS) in parsePlatformVersion()
670 .Cases("ios", "2", PlatformKind::iOS) in parsePlatformVersion()
671 .Cases("tvos", "3", PlatformKind::tvOS) in parsePlatformVersion()
672 .Cases("watchos", "4", PlatformKind::watchOS) in parsePlatformVersion()
673 .Cases("bridgeos", "5", PlatformKind::bridgeOS) in parsePlatformVersion()
674 .Cases("mac-catalyst", "6", PlatformKind::macCatalyst) in parsePlatformVersion()
675 .Cases("ios-simulator", "7", PlatformKind::iOSSimulator) in parsePlatformVersion()
676 .Cases("tvos-simulator", "8", PlatformKind::tvOSSimulator) in parsePlatformVersion()
677 .Cases("watchos-simulator", "9", PlatformKind::watchOSSimulator) in parsePlatformVersion()
678 .Cases("driverkit", "10", PlatformKind::driverKit) in parsePlatformVersion()
679 .Default(PlatformKind::unknown); in parsePlatformVersion()
680 if (platform == PlatformKind::unknown) in parsePlatformVersion()
698 PlatformKind platform = parsePlatformVersion(args); in createTargetInfo()
887 PlatformKind macho::removeSimulator(PlatformKind platform) { in removeSimulator()
889 case PlatformKind::iOSSimulator: in removeSimulator()
890 return PlatformKind::iOS; in removeSimulator()
891 case PlatformKind::tvOSSimulator: in removeSimulator()
892 return PlatformKind::tvOS; in removeSimulator()
893 case PlatformKind::watchOSSimulator: in removeSimulator()
894 return PlatformKind::watchOS; in removeSimulator()
901 static const std::vector<std::pair<PlatformKind, VersionTuple>> minVersion = { in dataConstDefault()
902 {PlatformKind::macOS, VersionTuple(10, 15)}, in dataConstDefault()
903 {PlatformKind::iOS, VersionTuple(13, 0)}, in dataConstDefault()
904 {PlatformKind::tvOS, VersionTuple(13, 0)}, in dataConstDefault()
905 {PlatformKind::watchOS, VersionTuple(6, 0)}, in dataConstDefault()
906 {PlatformKind::bridgeOS, VersionTuple(4, 0)}}; in dataConstDefault()
907 PlatformKind platform = removeSimulator(config->platformInfo.target.Platform); in dataConstDefault()
1240 std::array<PlatformKind, 3> encryptablePlatforms{ in link()
1241 PlatformKind::iOS, PlatformKind::watchOS, PlatformKind::tvOS}; in link()
1354 config->platform() == PlatformKind::macOS); in link()