[clang] 4667821 - [NFC] Typo fix in ARCMTActions.h
Shivam Gupta via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 18 00:04:37 PDT 2022
Author: Shivam Gupta
Date: 2022-09-18T12:34:24+05:30
New Revision: 46678211512238159199a5857e9f9d774016060c
URL: https://github.com/llvm/llvm-project/commit/46678211512238159199a5857e9f9d774016060c
DIFF: https://github.com/llvm/llvm-project/commit/46678211512238159199a5857e9f9d774016060c.diff
LOG: [NFC] Typo fix in ARCMTActions.h
Added:
Modified:
clang/include/clang/ARCMigrate/ARCMTActions.h
clang/lib/ARCMigrate/ARCMTActions.cpp
Removed:
################################################################################
diff --git a/clang/include/clang/ARCMigrate/ARCMTActions.h b/clang/include/clang/ARCMigrate/ARCMTActions.h
index 641c259b38677..714f4b33db446 100644
--- a/clang/include/clang/ARCMigrate/ARCMTActions.h
+++ b/clang/include/clang/ARCMigrate/ARCMTActions.h
@@ -43,7 +43,7 @@ class MigrateSourceAction : public ASTFrontendAction {
class MigrateAction : public WrapperFrontendAction {
std::string MigrateDir;
std::string PlistOut;
- bool EmitPremigrationARCErros;
+ bool EmitPremigrationARCErrors;
protected:
bool BeginInvocation(CompilerInstance &CI) override;
diff --git a/clang/lib/ARCMigrate/ARCMTActions.cpp b/clang/lib/ARCMigrate/ARCMTActions.cpp
index d72f53806e37b..0805d90d25aa6 100644
--- a/clang/lib/ARCMigrate/ARCMTActions.cpp
+++ b/clang/lib/ARCMigrate/ARCMTActions.cpp
@@ -39,7 +39,7 @@ ModifyAction::ModifyAction(std::unique_ptr<FrontendAction> WrappedAction)
bool MigrateAction::BeginInvocation(CompilerInstance &CI) {
if (arcmt::migrateWithTemporaryFiles(
CI.getInvocation(), getCurrentInput(), CI.getPCHContainerOperations(),
- CI.getDiagnostics().getClient(), MigrateDir, EmitPremigrationARCErros,
+ CI.getDiagnostics().getClient(), MigrateDir, EmitPremigrationARCErrors,
PlistOut))
return false; // errors, stop the action.
@@ -53,7 +53,7 @@ MigrateAction::MigrateAction(std::unique_ptr<FrontendAction> WrappedAction,
StringRef plistOut,
bool emitPremigrationARCErrors)
: WrapperFrontendAction(std::move(WrappedAction)), MigrateDir(migrateDir),
- PlistOut(plistOut), EmitPremigrationARCErros(emitPremigrationARCErrors) {
+ PlistOut(plistOut), EmitPremigrationARCErrors(emitPremigrationARCErrors) {
if (MigrateDir.empty())
MigrateDir = "."; // user current directory if none is given.
}
More information about the cfe-commits
mailing list