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.
2 parents df110cd + 4d163ed commit c0b51feCopy full SHA for c0b51fe
lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp
@@ -1891,8 +1891,7 @@ void SwiftASTContext::ApplyWorkingDir(
1891
1892
void SwiftASTContext::ApplyDiagnosticOptions() {
1893
const auto &opts = GetCompilerInvocation().getDiagnosticOptions();
1894
- if (opts.PrintDiagnosticNames)
1895
- GetDiagnosticEngine().setPrintDiagnosticNames(true);
+ GetDiagnosticEngine().setPrintDiagnosticNamesMode(opts.PrintDiagnosticNames);
1896
1897
if (!opts.DiagnosticDocumentationPath.empty())
1898
GetDiagnosticEngine().setDiagnosticDocumentationPath(
0 commit comments