Skip to content

Commit

Permalink
Merge pull request #9265 from swiftlang/jdevlieghere/fix-a8b71ea-2
Browse files Browse the repository at this point in the history
Jdevlieghere/fix a8b71ea - attempt #2
  • Loading branch information
JDevlieghere committed Sep 16, 2024
2 parents 39ebf5c + a6674f1 commit 308166d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1892,9 +1892,7 @@ void SwiftASTContext::ApplyWorkingDir(

void SwiftASTContext::ApplyDiagnosticOptions() {
const auto &opts = GetCompilerInvocation().getDiagnosticOptions();
if (opts.PrintDiagnosticNames == swift::PrintDiagnosticNamesMode::Identifier)
GetDiagnosticEngine().setPrintDiagnosticNamesMode(
swift::PrintDiagnosticNamesMode::Identifier);
GetDiagnosticEngine().setPrintDiagnosticNamesMode(opts.PrintDiagnosticNames);

if (!opts.DiagnosticDocumentationPath.empty())
GetDiagnosticEngine().setDiagnosticDocumentationPath(
Expand Down

0 comments on commit 308166d

Please sign in to comment.