[Lldb-commits] [lldb] [llvm] Add a createError variant without error code (NFC) (PR #93209)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu May 23 10:38:03 PDT 2024
================
@@ -87,8 +87,8 @@ llvm::Error Socket::Initialize() {
if (err == 0) {
if (wsaData.wVersion < wVersion) {
WSACleanup();
- return llvm::make_error<llvm::StringError>(
- "WSASock version is not expected.", llvm::inconvertibleErrorCode());
+ return llvm::createStringError("WSASock version is not expected.",
+ llvm::inconvertibleErrorCode());
----------------
JDevlieghere wrote:
This doesn't need the `inconvertibleErrorCode` anymore, right?
https://github.com/llvm/llvm-project/pull/93209
More information about the lldb-commits
mailing list