Remove DiagnosticsEditorMode

Migrate the last diagnostic to be independent of `DiagnosticEditorMode` and remove that option.

rdar://133111163
This commit is contained in:
Alex Hoppen
2024-08-08 16:47:50 -07:00
parent 915b5312ba
commit 577727ad55
27 changed files with 55 additions and 154 deletions

View File

@@ -223,7 +223,6 @@ bool ide::initCompilerInvocation(
auto &LangOpts = Invocation.getLangOptions();
LangOpts.AttachCommentsToDecls = true;
LangOpts.DiagnosticsEditorMode = true;
LangOpts.CollectParsedToken = true;
#if defined(_WIN32)
// Source files that might be open in an editor should not be memory mapped on Windows,