diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Frontend/TextDiagnosticPrinter.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Frontend/TextDiagnosticPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/lib/Frontend/TextDiagnosticPrinter.cpp b/contrib/llvm-project/clang/lib/Frontend/TextDiagnosticPrinter.cpp index 9feb3c64039f..0ff5376098ff 100644 --- a/contrib/llvm-project/clang/lib/Frontend/TextDiagnosticPrinter.cpp +++ b/contrib/llvm-project/clang/lib/Frontend/TextDiagnosticPrinter.cpp @@ -133,8 +133,7 @@ void TextDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level, // diagnostics in a context that lacks language options, a source manager, or // other infrastructure necessary when emitting more rich diagnostics. if (!Info.getLocation().isValid()) { - TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, - DiagOpts->CLFallbackMode); + TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors); TextDiagnostic::printDiagnosticMessage( OS, /*IsSupplemental=*/Level == DiagnosticsEngine::Note, DiagMessageStream.str(), OS.tell() - StartOfLocationInfo, |