forked from OSchip/llvm-project
[NFC] Typo fix in ARCMTActions.h
This commit is contained in:
parent
284f0397e2
commit
4667821151
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue