We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e1989 commit 61a2c9aCopy full SHA for 61a2c9a
clang-tools-extra/clangd/ModulesBuilder.cpp
@@ -136,8 +136,9 @@ bool IsModuleFileUpToDate(PathRef ModuleFilePath,
136
HSOpts->ForceCheckCXX20ModulesInputFiles = true;
137
HSOpts->ValidateASTInputFilesContent = true;
138
139
+ clang::clangd::IgnoreDiagnostics IgnoreDiags;
140
IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
- CompilerInstance::createDiagnostics(new DiagnosticOptions());
141
+ CompilerInstance::createDiagnostics(new DiagnosticOptions, &D, /*ShouldOwnClient=*/false);
142
143
LangOptions LangOpts;
144
LangOpts.SkipODRCheckInGMF = true;
0 commit comments