Eliminate "Immediate" flag from CompilerInvocation.

This adds some ugliness in the current swift binary because we weren't
bothering to set a requested action before, but it keeps things simpler
elsewhere. (Thanks, Connor.)

Swift SVN r13067
This commit is contained in:
Jordan Rose
2014-01-28 22:20:13 +00:00
parent af032e9300
commit 12fb34d60f
5 changed files with 27 additions and 17 deletions

View File

@@ -680,11 +680,6 @@ bool CompilerInvocation::parseArgs(ArrayRef<const char *> Args,
return true;
}
if (FrontendOpts.RequestedAction == FrontendOptions::REPL ||
FrontendOpts.RequestedAction == FrontendOptions::Immediate) {
setImmediate(true);
}
if (ParseLangArgs(LangOpts, *ParsedArgs, Diags)) {
return true;
}