Lines Matching refs:SDK

1275     StringRef SDK = *IT;  in getSDKName()  local
1276 if (SDK.endswith(".sdk")) in getSDKName()
1277 return SDK.slice(0, SDK.size() - 4); in getSDKName()
1854 StringRef SDK = Darwin::getSDKName(isysroot); in inferDeploymentTargetFromSDK() local
1855 if (!SDK.size()) in inferDeploymentTargetFromSDK()
1865 size_t StartVer = SDK.find_first_of("0123456789"); in inferDeploymentTargetFromSDK()
1866 size_t EndVer = SDK.find_last_of("0123456789"); in inferDeploymentTargetFromSDK()
1868 Version = std::string(SDK.slice(StartVer, EndVer + 1)); in inferDeploymentTargetFromSDK()
1874 [&](StringRef SDK) -> Optional<DarwinPlatform> { in inferDeploymentTargetFromSDK() argument
1875 if (SDK.startswith("iPhoneOS") || SDK.startswith("iPhoneSimulator")) in inferDeploymentTargetFromSDK()
1878 /*IsSimulator=*/SDK.startswith("iPhoneSimulator")); in inferDeploymentTargetFromSDK()
1879 else if (SDK.startswith("MacOSX")) in inferDeploymentTargetFromSDK()
1882 else if (SDK.startswith("WatchOS") || SDK.startswith("WatchSimulator")) in inferDeploymentTargetFromSDK()
1885 /*IsSimulator=*/SDK.startswith("WatchSimulator")); in inferDeploymentTargetFromSDK()
1886 else if (SDK.startswith("AppleTVOS") || SDK.startswith("AppleTVSimulator")) in inferDeploymentTargetFromSDK()
1889 /*IsSimulator=*/SDK.startswith("AppleTVSimulator")); in inferDeploymentTargetFromSDK()
1890 else if (SDK.startswith("DriverKit")) in inferDeploymentTargetFromSDK()
1894 if (auto Result = CreatePlatformFromSDKName(SDK)) in inferDeploymentTargetFromSDK()
1897 return CreatePlatformFromSDKName(dropSDKNamePrefix(SDK)); in inferDeploymentTargetFromSDK()
2248 StringRef SDK = getSDKName(A->getValue()); in AddDeploymentTarget() local
2249 if (SDK.size() > 0) { in AddDeploymentTarget()
2250 size_t StartVer = SDK.find_first_of("0123456789"); in AddDeploymentTarget()
2251 StringRef SDKName = SDK.slice(0, StartVer); in AddDeploymentTarget()