mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user