Skip to content

Commit 8b456b4

Browse files
committed
Revert "[lldb] Update SocketTestUtilities.cpp to use CloneableECError"
This reverts commit 2383bc8.
1 parent 79a69cb commit 8b456b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,14 @@ static bool CheckIPSupport(llvm::StringRef Proto, llvm::StringRef Addr) {
104104
bool HasProtocolError = false;
105105
handleAllErrors(
106106
std::move(Err),
107-
[&](std::unique_ptr<CloneableECError> ECErr) {
107+
[&](std::unique_ptr<llvm::ECError> ECErr) {
108108
std::error_code ec = ECErr->convertToErrorCode();
109109
if (ec ==
110110
std::make_error_code(std::errc::address_family_not_supported) ||
111111
ec == std::make_error_code(std::errc::address_not_available))
112112
HasProtocolError = true;
113-
});
113+
},
114+
[](const llvm::ErrorInfoBase &) {});
114115
if (HasProtocolError) {
115116
GTEST_LOG_(WARNING)
116117
<< llvm::formatv(

0 commit comments

Comments
 (0)