[RFA 08/14] Remove some cleanups from gnu-v3-abi.c

Simon Marchi simon.marchi@polymtl.ca
Mon Apr 10 04:09:00 GMT 2017


On 2017-04-08 16:12, Tom Tromey wrote:
> @@ -821,7 +812,7 @@ compare_value_and_voffset (const void *a, const 
> void *b)
> 
>  static void
>  compute_vtable_size (htab_t offset_hash,
> -		     VEC (value_and_voffset_p) **offset_vec,
> +		     std::vector<value_and_voffset *> *offset_vec,
>  		     struct value *value)

Pass the vector by reference?  Otherwise, LGTM.

Simon



More information about the Gdb-patches mailing list