[Lldb-commits] [lldb] Support inline diagnostics in CommandReturnObject (PR #110901)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 9 21:32:08 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;
----------------
JDevlieghere wrote:

Maybe this will make sense later, but why is this a property of CommandReturnObject and not DiagnosticDetail?

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


More information about the lldb-commits mailing list