From a0dd90eb7dc318c9b3fccb9ba02e1e22fb073094 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 5 Sep 2024 12:19:31 -0700 Subject: =?UTF-8?q?[lldb]=20Make=20conversions=20from=20llvm::Error=20expl?= =?UTF-8?q?icit=20with=20Status::FromEr=E2=80=A6=20(#107163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ror() [NFC] --- lldb/source/Interpreter/CommandObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Interpreter/CommandObject.cpp') diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index c819024..cf2682c 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -121,7 +121,7 @@ bool CommandObject::ParseOptions(Args &args, CommandReturnObject &result) { args = std::move(*args_or); error = options->NotifyOptionParsingFinished(&exe_ctx); } else - error = args_or.takeError(); + error = Status::FromError(args_or.takeError()); if (error.Success()) { if (options->VerifyOptions(result)) -- cgit v1.1