[Lldb-commits] [lldb] Extend information for failed connection for gdb server (PR #139916)
via lldb-commits
lldb-commits at lists.llvm.org
Wed May 14 07:52:04 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 cpp -- lldb/source/Host/common/TCPSocket.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Host/common/TCPSocket.cpp b/lldb/source/Host/common/TCPSocket.cpp
index 4148ad67b..b6e0f1117 100644
--- a/lldb/source/Host/common/TCPSocket.cpp
+++ b/lldb/source/Host/common/TCPSocket.cpp
@@ -169,8 +169,8 @@ Status TCPSocket::Connect(llvm::StringRef name) {
return error;
}
- error = Status::FromErrorStringWithFormatv("Failed to connect {0}:{1}",
- host_port->hostname, host_port->port);
+ error = Status::FromErrorStringWithFormatv(
+ "Failed to connect {0}:{1}", host_port->hostname, host_port->port);
return error;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/139916
More information about the lldb-commits
mailing list