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 c09787b7d05083791b417c5b97a8cfd6d0874ed9 023b51e61e3e5127dc2289ea47e2e4d3e7a6db26 -- 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/lldb-dap.cpp b/lldb/tools/lldb-dap/lldb-dap.cpp index 9fedad8a41..e5165459dd 100644 --- a/lldb/tools/lldb-dap/lldb-dap.cpp +++ b/lldb/tools/lldb-dap/lldb-dap.cpp @@ -739,8 +739,7 @@ void request_attach(const llvm::json::Object &request) { return; } - if ((pid == LLDB_INVALID_PROCESS_ID || port == invalid_port) && - wait_for) { + if ((pid == LLDB_INVALID_PROCESS_ID || port == invalid_port) && wait_for) { char attach_msg[256]; auto attach_msg_len = snprintf(attach_msg, sizeof(attach_msg), "Waiting to attach to \"%s\"...", @@ -754,8 +753,7 @@ void request_attach(const llvm::json::Object &request) { // the launch call and the launch will happen synchronously g_dap.debugger.SetAsync(false); if (core_file.empty()) { - if ((pid != LLDB_INVALID_PROCESS_ID) && - (port != invalid_port)) { + if ((pid != LLDB_INVALID_PROCESS_ID) && (port != invalid_port)) { // If both pid and port numbers are specified. error.SetErrorString("The user can't specify both pid and port"); } else if (port != invalid_port) { `````````` </details> https://github.com/llvm/llvm-project/pull/91570 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits