[driver] Make sure that adding '-update-code' will permit accepting all arguments that '-c' accepts.

rdar://19667675

Swift SVN r24861
This commit is contained in:
Argyrios Kyrtzidis
2015-01-30 23:35:57 +00:00
parent 785eacf0b5
commit 2dc65341f2
4 changed files with 7 additions and 5 deletions

View File

@@ -213,7 +213,9 @@ Job *Swift::constructJob(const JobAction &JA, std::unique_ptr<JobList> Inputs,
FrontendModeOption = "-repl";
break;
case OutputInfo::Mode::UpdateCode:
FrontendModeOption = "-parse";
// Make sure that adding '-update-code' will permit accepting all arguments
// '-c' accepts.
FrontendModeOption = "-c";
break;
}