Author: Gregory Alfonso Date: 2023-01-30T16:06:45-08:00 New Revision: 9f5d881206ce24f6f1e6ca35aeaaf1b6f6fc3c66
URL: https://github.com/llvm/llvm-project/commit/9f5d881206ce24f6f1e6ca35aeaaf1b6f6fc3c66 DIFF: https://github.com/llvm/llvm-project/commit/9f5d881206ce24f6f1e6ca35aeaaf1b6f6fc3c66.diff LOG: [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 Added: Modified: clang/lib/Driver/ToolChains/Darwin.cpp Removed: ################################################################################ diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp index 9f95c962ee9aa..00bd12faca572 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) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits