From: Gregory Alfonso Date: Tue, 31 Jan 2023 00:06:45 +0000 (-0800) Subject: [NFC] Correct argument comment typo X-Git-Tag: upstream/17.0.6~19124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f5d881206ce24f6f1e6ca35aeaaf1b6f6fc3c66;p=platform%2Fupstream%2Fllvm.git [NFC] Correct argument comment typo For Darwin, the boolean being passed is called IsSimulator, not "IsImulator" Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D139547 --- diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp index 9f95c96..00bd12f 100644 --- a/clang/lib/Driver/ToolChains/Darwin.cpp +++ b/clang/lib/Driver/ToolChains/Darwin.cpp @@ -1772,7 +1772,7 @@ getDeploymentTargetFromOSVersionArg(DerivedArgList &Args, ->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)