[Lldb-commits] [PATCH] D132841: [lldb] Use the NativeSock type instead of plain 'int'
Martin Storsjö via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 30 00:09:06 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG118038e878cf: [lldb] Use the NativeSock type instead of plain 'int' (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132841/new/
https://reviews.llvm.org/D132841
Files:
lldb/source/Host/common/TCPSocket.cpp
Index: lldb/source/Host/common/TCPSocket.cpp
===================================================================
--- lldb/source/Host/common/TCPSocket.cpp
+++ lldb/source/Host/common/TCPSocket.cpp
@@ -261,8 +261,8 @@
return error;
}
- int sock = kInvalidSocketValue;
- int listen_sock = kInvalidSocketValue;
+ NativeSocket sock = kInvalidSocketValue;
+ NativeSocket listen_sock = kInvalidSocketValue;
lldb_private::SocketAddress AcceptAddr;
MainLoop accept_loop;
std::vector<MainLoopBase::ReadHandleUP> handles;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132841.456551.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220830/81dc259a/attachment.bin>
More information about the lldb-commits
mailing list