mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 08:38:10 +08:00
Remove deprecated_lval_hack
This removes deprecated_lval_hack and the VALUE_LVAL macro, replacing all uses with a call to value::lval. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -4908,7 +4908,7 @@ rank_one_type (struct type *parm, struct type *arg, struct value *value)
|
||||
|
||||
if (TYPE_IS_REFERENCE (parm) && value != NULL)
|
||||
{
|
||||
if (VALUE_LVAL (value) == not_lval)
|
||||
if (value->lval () == not_lval)
|
||||
{
|
||||
/* Rvalues should preferably bind to rvalue references or const
|
||||
lvalue references. */
|
||||
|
Reference in New Issue
Block a user