[Lldb-commits] [lldb] [lldb] Refactor UserExpression::Evaluate to only have one error channel. (PR #117186)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 21 13:51:40 PST 2024


================
@@ -339,12 +339,9 @@ void REPL::IOHandlerInputComplete(IOHandler &io_handler, std::string &code) {
 
       const char *expr_prefix = nullptr;
       lldb::ValueObjectSP result_valobj_sp;
+      lldb::ExpressionResults execution_results = UserExpression::Evaluate(
+          exe_ctx, expr_options, code.c_str(), expr_prefix, result_valobj_sp);
       Status error;
----------------
adrian-prantl wrote:

It's used on the very next line.

https://github.com/llvm/llvm-project/pull/117186


More information about the lldb-commits mailing list