[Lldb-commits] [lldb] [lldb-dap] Move the event and progress event threads into DAP (NFC) (PR #139167)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 8 15:03:43 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 HEAD~1 HEAD --extensions h,cpp -- lldb/tools/lldb-dap/DAP.cpp lldb/tools/lldb-dap/DAP.h lldb/tools/lldb-dap/Handler/InitializeRequestHandler.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/tools/lldb-dap/DAP.cpp b/lldb/tools/lldb-dap/DAP.cpp
index 169afd258..f6754b1f8 100644
--- a/lldb/tools/lldb-dap/DAP.cpp
+++ b/lldb/tools/lldb-dap/DAP.cpp
@@ -1624,7 +1624,7 @@ void DAP::EventThread() {
         std::string type = GetStringValue(data.GetValueForKey("type"));
         std::string message = GetStringValue(data.GetValueForKey("message"));
         SendOutput(OutputType::Important,
-                       llvm::formatv("{0}: {1}", type, message).str());
+                   llvm::formatv("{0}: {1}", type, message).str());
       } else if (event.BroadcasterMatchesRef(broadcaster)) {
         if (event_mask & eBroadcastBitStopEventThread) {
           done = true;

``````````

</details>


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


More information about the lldb-commits mailing list