mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Set driver options for frontend too and propagate them in compiler invocation
This commit is contained in:
@@ -2283,8 +2283,8 @@ static void ParseSymbolGraphArgs(symbolgraphgen::SymbolGraphOptions &Opts,
|
||||
}
|
||||
|
||||
// default values for generating symbol graphs during a build
|
||||
Opts.PrettyPrint = false;
|
||||
Opts.EmitSynthesizedMembers = true;
|
||||
Opts.PrettyPrint = Args.hasArg(OPT_symbol_graph_pretty_print);
|
||||
Opts.EmitSynthesizedMembers = !Args.hasArg(OPT_symbol_graph_skip_synthesized_members);
|
||||
Opts.PrintMessages = false;
|
||||
Opts.IncludeClangDocs = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user