From: Tom Tromey Date: Fri, 14 Nov 2025 20:44:22 +0000 (-0700) Subject: Rename some locals in objc_msgcall_operation::evaluate X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=997668ca389aff95e524207b671b5b418e55069a;p=thirdparty%2Fbinutils-gdb.git Rename some locals in objc_msgcall_operation::evaluate This renames a couple of local variables in objc_msgcall_operation::evaluate, in preparation for the next patch. This is done separately because the next patch is pretty messy and this makes it a little simpler. --- diff --git a/gdb/eval.c b/gdb/eval.c index a2da901877f..d41f9a63831 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -2239,15 +2239,15 @@ objc_msgcall_operation::evaluate (struct type *expect_type, else sub_no_side = noside; - std::vector &args = std::get<2> (m_storage); - std::vector argvec; - argvec.push_back (nullptr); - argvec.push_back (nullptr); - for (const operation_up &iter : args) - argvec.push_back (iter->evaluate_with_coercion (exp, sub_no_side)); + std::vector &ops = std::get<2> (m_storage); + std::vector args; + args.push_back (nullptr); + args.push_back (nullptr); + for (const operation_up &iter : ops) + args.push_back (iter->evaluate_with_coercion (exp, sub_no_side)); return eval_op_objc_msgcall (expect_type, exp, noside, - std::get<0> (m_storage), target, argvec); + std::get<0> (m_storage), target, args); } value *