mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[driver] Remove the 'swift-fixit' symlink and introduce '-emit-fixits-path' frontend option that
writes compiler fixits as source edits. Driver option '-fixit-code' adds '-emit-fixits-path' for all the frontend invocations. Swift SVN r27208
This commit is contained in:
@@ -472,6 +472,10 @@ static bool ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
|
||||
OPT_emit_objc_header_path,
|
||||
"h", false);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_emit_fixits_path)) {
|
||||
Opts.FixitsOutputPath = A->getValue();
|
||||
}
|
||||
|
||||
bool IsSIB =
|
||||
Opts.RequestedAction == FrontendOptions::EmitSIB ||
|
||||
Opts.RequestedAction == FrontendOptions::EmitSIBGen;
|
||||
|
||||
Reference in New Issue
Block a user