[Lldb-commits] [lldb] [lldb] Expose structured command diagnostics via the SBAPI. (PR #112109)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 14 10:41:33 PDT 2024


================
@@ -3187,11 +3185,12 @@ void CommandInterpreter::IOHandlerInputComplete(IOHandler &io_handler,
        io_handler.GetFlags().Test(eHandleCommandFlagPrintResult)) ||
       io_handler.GetFlags().Test(eHandleCommandFlagPrintErrors)) {
     // Display any inline diagnostics first.
-    if (!result.GetImmediateErrorStream() &&
-        GetDebugger().GetShowInlineDiagnostics()) {
+    bool inline_diagnostics = !result.GetImmediateErrorStream() &&
----------------
bulbazord wrote:

nit: `const` this?

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


More information about the lldb-commits mailing list