Lines Matching refs:SDK

1368     StringRef SDK = *IT;  in getSDKName()  local
1369 if (SDK.ends_with(".sdk")) in getSDKName()
1370 return SDK.slice(0, SDK.size() - 4); in getSDKName()
1998 StringRef SDK = Darwin::getSDKName(isysroot); in inferDeploymentTargetFromSDK() local
1999 if (!SDK.size()) in inferDeploymentTargetFromSDK()
2009 size_t StartVer = SDK.find_first_of("0123456789"); in inferDeploymentTargetFromSDK()
2010 size_t EndVer = SDK.find_last_of("0123456789"); in inferDeploymentTargetFromSDK()
2012 Version = std::string(SDK.slice(StartVer, EndVer + 1)); in inferDeploymentTargetFromSDK()
2018 [&](StringRef SDK) -> std::optional<DarwinPlatform> { in inferDeploymentTargetFromSDK() argument
2019 if (SDK.starts_with("iPhoneOS") || SDK.starts_with("iPhoneSimulator")) in inferDeploymentTargetFromSDK()
2022 /*IsSimulator=*/SDK.starts_with("iPhoneSimulator")); in inferDeploymentTargetFromSDK()
2023 else if (SDK.starts_with("MacOSX")) in inferDeploymentTargetFromSDK()
2026 else if (SDK.starts_with("WatchOS") || SDK.starts_with("WatchSimulator")) in inferDeploymentTargetFromSDK()
2029 /*IsSimulator=*/SDK.starts_with("WatchSimulator")); in inferDeploymentTargetFromSDK()
2030 else if (SDK.starts_with("AppleTVOS") || in inferDeploymentTargetFromSDK()
2031 SDK.starts_with("AppleTVSimulator")) in inferDeploymentTargetFromSDK()
2034 /*IsSimulator=*/SDK.starts_with("AppleTVSimulator")); in inferDeploymentTargetFromSDK()
2035 else if (SDK.starts_with("XR")) in inferDeploymentTargetFromSDK()
2038 /*IsSimulator=*/SDK.contains("Simulator")); in inferDeploymentTargetFromSDK()
2039 else if (SDK.starts_with("DriverKit")) in inferDeploymentTargetFromSDK()
2043 if (auto Result = CreatePlatformFromSDKName(SDK)) in inferDeploymentTargetFromSDK()
2046 return CreatePlatformFromSDKName(dropSDKNamePrefix(SDK)); in inferDeploymentTargetFromSDK()
2413 StringRef SDK = getSDKName(A->getValue()); in AddDeploymentTarget() local
2414 if (SDK.size() > 0) { in AddDeploymentTarget()
2415 size_t StartVer = SDK.find_first_of("0123456789"); in AddDeploymentTarget()
2416 StringRef SDKName = SDK.slice(0, StartVer); in AddDeploymentTarget()