================ @@ -173,7 +173,16 @@ bool CommandObjectDWIMPrint::DoExecute(StringRef command, auto *exe_scope = m_exe_ctx.GetBestExecutionContextScope(); ValueObjectSP valobj_sp; ExpressionResults expr_result = - target.EvaluateExpression(expr, exe_scope, valobj_sp, eval_options); + target.EvaluateExpression(expr, exe_scope, valobj_sp, eval_options, &m_fixed_expression); + + // Only mention Fix-Its if the command applies them. + // The compiler errors can address any parsing issues after applying Fix-It(s). ---------------- PortalPete wrote:
Fixed to past-test because it comes printing the result. ```cpp // Only mention Fix-Its if the expression evaluator applied them. // Compiler errors refer to the final expression after applying Fix-It(s). ``` https://github.com/llvm/llvm-project/pull/68452 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits