================ @@ -106,6 +106,10 @@ class Socket : public IOObject { static std::unique_ptr<Socket> Create(const SocketProtocol protocol, Status &error); + static llvm::Expected< + std::pair<std::unique_ptr<Socket>, std::unique_ptr<Socket>>> ---------------- JDevlieghere wrote:
Nit: Maybe add a `Socket::Pair` or `Socket::SocketPair` typedef to make these declarations a little less verbose? ``` using Pair = std::pair<std::unique_ptr<Socket>, std::unique_ptr<Socket>>; ``` https://github.com/llvm/llvm-project/pull/145015 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits