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/Handler/AttachRequestHandler.cpp 
lldb/tools/lldb-dap/Handler/InitializeRequestHandler.cpp 
lldb/tools/lldb-dap/Handler/LaunchRequestHandler.cpp 
lldb/tools/lldb-dap/Handler/RequestHandler.cpp 
lldb/tools/lldb-dap/Handler/RequestHandler.h 
lldb/tools/lldb-dap/Handler/RestartRequestHandler.cpp 
lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp 
lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
``````````

</details>

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

``````````diff
diff --git a/lldb/tools/lldb-dap/Handler/RequestHandler.h 
b/lldb/tools/lldb-dap/Handler/RequestHandler.h
index a726254f5..0dd9928ce 100644
--- a/lldb/tools/lldb-dap/Handler/RequestHandler.h
+++ b/lldb/tools/lldb-dap/Handler/RequestHandler.h
@@ -500,9 +500,8 @@ public:
   void operator()(const llvm::json::Object &request) const override;
 };
 
-class CancelRequestHandler
-    : public RequestHandler<protocol::CancelArguments,
-                            protocol::CancelResponse> {
+class CancelRequestHandler : public RequestHandler<protocol::CancelArguments,
+                                                   protocol::CancelResponse> {
 public:
   using RequestHandler::RequestHandler;
   static llvm::StringLiteral GetCommand() { return "cancel"; }

``````````

</details>


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

Reply via email to