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 origin/main HEAD --extensions cpp,h -- 
lldb/include/lldb/Host/JSONTransport.h 
lldb/include/lldb/Protocol/MCP/Protocol.h 
lldb/include/lldb/Protocol/MCP/Server.h 
lldb/include/lldb/Protocol/MCP/Transport.h 
lldb/source/Host/common/JSONTransport.cpp 
lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp 
lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h 
lldb/source/Plugins/Protocol/MCP/Tool.cpp lldb/source/Protocol/MCP/Server.cpp 
lldb/tools/lldb-dap/DAP.h lldb/tools/lldb-dap/Protocol/ProtocolBase.h 
lldb/tools/lldb-dap/Transport.h lldb/unittests/DAP/DAPTest.cpp 
lldb/unittests/DAP/Handler/DisconnectTest.cpp lldb/unittests/DAP/TestBase.cpp 
lldb/unittests/DAP/TestBase.h lldb/unittests/Host/JSONTransportTest.cpp 
lldb/unittests/Protocol/ProtocolMCPServerTest.cpp 
lldb/unittests/TestingSupport/Host/JSONTransportTestUtilities.h
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/Protocol/MCP/Tool.cpp 
b/lldb/source/Plugins/Protocol/MCP/Tool.cpp
index 176bc0c68..cb134b965 100644
--- a/lldb/source/Plugins/Protocol/MCP/Tool.cpp
+++ b/lldb/source/Plugins/Protocol/MCP/Tool.cpp
@@ -16,7 +16,6 @@
 #include "llvm/Support/Error.h"
 #include <cstdint>
 #include <optional>
-#include "llvm/Support/Error.h"
 
 using namespace lldb_private;
 using namespace lldb_protocol;

``````````

</details>


https://github.com/llvm/llvm-project/pull/159160
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to