[clang] [clang] Apply internal buffering to clang diagnostics printing (PR #113440)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 23 08:05:10 PDT 2024


================
@@ -133,12 +133,16 @@ 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()) {
----------------
tbaederr wrote:

So the problem you're describing only exists for diagnostics without valid locations? :thinking: 

https://github.com/llvm/llvm-project/pull/113440


More information about the cfe-commits mailing list