mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Sema] -serialize-diagnostics-path should imply -diagnostics-editor-mode so that live issues and editor builds can have the consistent behavior. (#9166)
This commit is contained in:
@@ -902,7 +902,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
|
||||
Opts.UseMalloc |= Args.hasArg(OPT_use_malloc);
|
||||
|
||||
Opts.DiagnosticsEditorMode |= Args.hasArg(OPT_diagnostics_editor_mode);
|
||||
Opts.DiagnosticsEditorMode |= Args.hasArg(OPT_diagnostics_editor_mode,
|
||||
OPT_serialize_diagnostics_path);
|
||||
|
||||
Opts.EnableExperimentalPropertyBehaviors |=
|
||||
Args.hasArg(OPT_enable_experimental_property_behaviors);
|
||||
|
||||
Reference in New Issue
Block a user