[clang] 9f5d881 - [NFC] Correct argument comment typo
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 30 16:06:51 PST 2023
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)
More information about the cfe-commits
mailing list