Lines Matching refs:WatchOSVersion
520 Arg *WatchOSVersion = Args.getLastArg(options::OPT_mwatchos_version_min_EQ); in AddDeploymentTarget() local
522 if (OSXVersion && (iOSVersion || TvOSVersion || WatchOSVersion)) { in AddDeploymentTarget()
526 TvOSVersion ? TvOSVersion : WatchOSVersion)->getAsString(Args); in AddDeploymentTarget()
527 iOSVersion = TvOSVersion = WatchOSVersion = nullptr; in AddDeploymentTarget()
528 } else if (iOSVersion && (TvOSVersion || WatchOSVersion)) { in AddDeploymentTarget()
531 << (TvOSVersion ? TvOSVersion : WatchOSVersion)->getAsString(Args); in AddDeploymentTarget()
532 TvOSVersion = WatchOSVersion = nullptr; in AddDeploymentTarget()
533 } else if (TvOSVersion && WatchOSVersion) { in AddDeploymentTarget()
536 << WatchOSVersion->getAsString(Args); in AddDeploymentTarget()
537 WatchOSVersion = nullptr; in AddDeploymentTarget()
538 } else if (!OSXVersion && !iOSVersion && !TvOSVersion && !WatchOSVersion) { in AddDeploymentTarget()
654 WatchOSVersion = Args.MakeJoinedArg(nullptr, O, WatchOSTarget); in AddDeploymentTarget()
655 Args.append(WatchOSVersion); in AddDeploymentTarget()
666 else if (WatchOSVersion) in AddDeploymentTarget()
675 assert((!iOSVersion && !TvOSVersion && !WatchOSVersion) && in AddDeploymentTarget()
696 if (!Driver::GetReleaseVersion(WatchOSVersion->getValue(), Major, Minor, in AddDeploymentTarget()
700 << WatchOSVersion->getAsString(Args); in AddDeploymentTarget()
711 if (WatchOSVersion && (getTriple().getArch() == llvm::Triple::x86 || in AddDeploymentTarget()