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