[Lldb-commits] [lldb] [lldb] Add a MainLoop version of DomainSocket::Accept (PR #108188)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 11 04:01:13 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 1e3a24d2e4eb63c17b962161ae6588d1b2c178f8 eb9799b9a1631e34b9553386ce968fd5379378fc --extensions h,cpp -- lldb/include/lldb/Host/Socket.h lldb/include/lldb/Host/common/TCPSocket.h lldb/include/lldb/Host/common/UDPSocket.h lldb/include/lldb/Host/posix/DomainSocket.h lldb/source/Host/common/Socket.cpp lldb/source/Host/common/TCPSocket.cpp lldb/source/Host/common/UDPSocket.cpp lldb/source/Host/posix/DomainSocket.cpp lldb/unittests/Host/SocketTest.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/unittests/Host/SocketTest.cpp b/lldb/unittests/Host/SocketTest.cpp
index a93b928e27..4befddc0e2 100644
--- a/lldb/unittests/Host/SocketTest.cpp
+++ b/lldb/unittests/Host/SocketTest.cpp
@@ -88,7 +88,8 @@ TEST_P(SocketTest, DomainListenConnectAccept) {
 
 TEST_P(SocketTest, DomainMainLoopAccept) {
   llvm::SmallString<64> Path;
-  std::error_code EC = llvm::sys::fs::createUniqueDirectory("DomainListenConnectAccept", Path);
+  std::error_code EC =
+      llvm::sys::fs::createUniqueDirectory("DomainListenConnectAccept", Path);
   ASSERT_FALSE(EC);
   llvm::sys::path::append(Path, "test");
 

``````````

</details>


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


More information about the lldb-commits mailing list