diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp --- a/clang/lib/Driver/ToolChains/Darwin.cpp +++ b/clang/lib/Driver/ToolChains/Darwin.cpp @@ -1772,7 +1772,7 @@ ->getAsString(Args); } return DarwinPlatform::createOSVersionArg(Darwin::MacOS, macOSVersion, - /*IsImulator=*/false); + /*IsSimulator=*/false); } else if (iOSVersion) { if (TvOSVersion || WatchOSVersion) { TheDriver.Diag(diag::err_drv_argument_not_allowed_with)