[Frontend] Introduce FrontendOptions::NoneAction, when the client wants custom control on how to handle an invocation.

This fixes SourceKit tests after r21537.

Swift SVN r21564
This commit is contained in:
Argyrios Kyrtzidis
2014-08-29 04:58:37 +00:00
parent 8f52302f8e
commit 0de5a66345
4 changed files with 17 additions and 9 deletions

View File

@@ -106,6 +106,7 @@ public:
std::vector<std::string> LLVMArgs;
enum ActionType {
NoneAction, ///< No specific action
Parse, ///< Parse and type-check only
DumpParse, ///< Parse only and dump AST
DumpAST, ///< Parse, type-check, and dump AST
@@ -126,7 +127,7 @@ public:
};
/// Indicates the action the user requested that the frontend perform.
ActionType RequestedAction = Parse;
ActionType RequestedAction = NoneAction;
/// Indicates that the input(s) should be parsed as the Swift stdlib.
bool ParseStdlib = false;