[all-commits] [llvm/llvm-project] 6b4f67: [lldb] Improve rendering of inline diagnostics on ...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Tue Nov 19 09:13:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b4f67545d87d5305cbbc20a678fb97ede995579
      https://github.com/llvm/llvm-project/commit/6b4f67545d87d5305cbbc20a678fb97ede995579
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M lldb/source/Utility/DiagnosticsRendering.cpp
    M lldb/unittests/Utility/DiagnosticsRenderingTest.cpp

  Log Message:
  -----------
  [lldb] Improve rendering of inline diagnostics on the same column (#116727)

depends on https://github.com/llvm/llvm-project/pull/116711

[lldb] Improve rendering of inline diagnostics on the same column by
fixing the indentation and printing these annotations in the original
order.

Before

    a+b+c;
    ^ ^ ^
    | | error: 3
    | |note: 2b
    | error: 2a
    error: 1

After

    a+b+c;
    ^ ^ ^
    | | error: 3
    | error: 2a
    | note: 2b
    error: 1



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list