[Lldb-commits] [lldb] [lldb-dap] When sending a DAP Output Event break each message into separate lines. (PR #105456)

via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 21 13:33:05 PDT 2024


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 a16f0dc9c2f0690e28622b0d80bd154fb0e6a30a 106a6bab4972913d989b97108c4f5f25bef2eca3 --extensions cpp,h,c -- lldb/test/API/tools/lldb-dap/output/main.c lldb/tools/lldb-dap/DAP.cpp lldb/tools/lldb-dap/DAP.h lldb/tools/lldb-dap/OutputRedirector.cpp lldb/tools/lldb-dap/lldb-dap.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/tools/lldb-dap/OutputRedirector.cpp b/lldb/tools/lldb-dap/OutputRedirector.cpp
index bba6a9bf5f..2c2f495698 100644
--- a/lldb/tools/lldb-dap/OutputRedirector.cpp
+++ b/lldb/tools/lldb-dap/OutputRedirector.cpp
@@ -13,10 +13,9 @@
 #include <unistd.h>
 #endif
 
-#include "llvm/ADT/StringRef.h"
 #include "DAP.h"
 #include "OutputRedirector.h"
-
+#include "llvm/ADT/StringRef.h"
 
 using namespace llvm;
 

``````````

</details>


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


More information about the lldb-commits mailing list