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:
@@ -18,6 +18,7 @@ using namespace swift;
|
||||
|
||||
bool FrontendOptions::actionHasOutput() const {
|
||||
switch (RequestedAction) {
|
||||
case NoneAction:
|
||||
case Parse:
|
||||
case DumpParse:
|
||||
case DumpAST:
|
||||
@@ -41,6 +42,7 @@ bool FrontendOptions::actionHasOutput() const {
|
||||
|
||||
bool FrontendOptions::actionIsImmediate() const {
|
||||
switch (RequestedAction) {
|
||||
case NoneAction:
|
||||
case Parse:
|
||||
case DumpParse:
|
||||
case DumpAST:
|
||||
|
||||
Reference in New Issue
Block a user