Turn value_type into method
This changes value_type to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
parent
7cf57bc5be
commit
d0c9791728
107 changed files with 880 additions and 884 deletions
|
@ -245,7 +245,7 @@ static struct value *
|
|||
value_struct_element_index (struct value *value, int type_index)
|
||||
{
|
||||
struct value *result = NULL;
|
||||
struct type *type = value_type (value);
|
||||
struct type *type = value->type ();
|
||||
|
||||
type = check_typedef (type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue