[NFC] Typo fix in ARCMTActions.h

This commit is contained in:
Shivam Gupta 2022-09-18 12:29:40 +05:30
parent 284f0397e2
commit 4667821151
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ protected:
class MigrateAction : public WrapperFrontendAction {
std::string MigrateDir;
std::string PlistOut;
bool EmitPremigrationARCErros;
bool EmitPremigrationARCErrors;
protected:
bool BeginInvocation(CompilerInstance &CI) override;

View File

@ -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.
}