Lines Matching refs:WatchOSVersion
490 Arg *WatchOSVersion = Args.getLastArg(options::OPT_mwatchos_version_min_EQ); in AddDeploymentTarget() local
492 if (OSXVersion && (iOSVersion || TvOSVersion || WatchOSVersion)) { in AddDeploymentTarget()
496 TvOSVersion ? TvOSVersion : WatchOSVersion)->getAsString(Args); in AddDeploymentTarget()
497 iOSVersion = TvOSVersion = WatchOSVersion = nullptr; in AddDeploymentTarget()
498 } else if (iOSVersion && (TvOSVersion || WatchOSVersion)) { in AddDeploymentTarget()
501 << (TvOSVersion ? TvOSVersion : WatchOSVersion)->getAsString(Args); in AddDeploymentTarget()
502 TvOSVersion = WatchOSVersion = nullptr; in AddDeploymentTarget()
503 } else if (TvOSVersion && WatchOSVersion) { in AddDeploymentTarget()
506 << WatchOSVersion->getAsString(Args); in AddDeploymentTarget()
507 WatchOSVersion = nullptr; in AddDeploymentTarget()
508 } else if (!OSXVersion && !iOSVersion && !TvOSVersion && !WatchOSVersion) { in AddDeploymentTarget()
627 WatchOSVersion = Args.MakeJoinedArg(nullptr, O, WatchOSTarget); in AddDeploymentTarget()
628 Args.append(WatchOSVersion); in AddDeploymentTarget()
639 else if (WatchOSVersion) in AddDeploymentTarget()
648 assert((!iOSVersion && !TvOSVersion && !WatchOSVersion) && in AddDeploymentTarget()
669 if (!Driver::GetReleaseVersion(WatchOSVersion->getValue(), Major, Minor, in AddDeploymentTarget()
673 << WatchOSVersion->getAsString(Args); in AddDeploymentTarget()
684 if (WatchOSVersion && (getTriple().getArch() == llvm::Triple::x86 || in AddDeploymentTarget()