[Lldb-commits] [lldb] Support inline diagnostics in CommandReturnObject (PR #110901)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 10 18:21:33 PDT 2024
================
@@ -160,6 +166,9 @@ class CommandReturnObject {
StreamTee m_out_stream;
StreamTee m_err_stream;
+ std::vector<DiagnosticDetail> m_diagnostics;
+ StreamString m_diag_stream;
+ std::optional<uint16_t> m_diagnostic_indent;
----------------
adrian-prantl wrote:
Because DiagnostcDetails are created in places (e.g., the expression evaluator) that don't have any information about driver details like the indent.
https://github.com/llvm/llvm-project/pull/110901
More information about the lldb-commits
mailing list