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