[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:
Xi Ge
2017-05-02 10:53:38 -07:00
committed by GitHub
parent 3e46ab60a0
commit 89d50e366f
2 changed files with 15 additions and 1 deletions

View File

@@ -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);