[Lldb-commits] [lldb] [SBProgress][CLI] Configure sbprogress events to be emitted for the CLI (PR #133309)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 27 13:25:18 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff fbf0276b6a7a7a4508c373cf87fc349569652659 d5840447a35992530963ae910615b1908e2880d2 --extensions cpp -- lldb/source/Core/Debugger.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index cf247974ad..fbbe3d6293 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -2024,7 +2024,8 @@ lldb::thread_result_t Debugger::DefaultEventHandler() {
               }
             }
           } else if (broadcaster == &m_broadcaster) {
-            if (event_type & lldb::eBroadcastBitProgress || event_type & lldb::eBroadcastBitExternalProgress)
+            if (event_type & lldb::eBroadcastBitProgress ||
+                event_type & lldb::eBroadcastBitExternalProgress)
               HandleProgressEvent(event_sp);
             else if (event_type & lldb::eBroadcastBitWarning)
               HandleDiagnosticEvent(event_sp);

``````````

</details>


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


More information about the lldb-commits mailing list