mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[frontend] Made EmitObject the default requested action.
This matches the behavior of the swift executable. Swift SVN r12881
This commit is contained in:
@@ -154,8 +154,8 @@ static bool ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
|
||||
// (Setting up module output will be handled below.)
|
||||
Action = FrontendOptions::EmitModuleOnly;
|
||||
} else {
|
||||
// In the absence of any other mode indicators, parse the inputs.
|
||||
Action = FrontendOptions::Parse;
|
||||
// In the absence of any other mode indicators, emit an object file.
|
||||
Action = FrontendOptions::EmitObject;
|
||||
}
|
||||
}
|
||||
Opts.RequestedAction = Action;
|
||||
|
||||
Reference in New Issue
Block a user