[PATCH v2] value: Make accessor methods' parameters const-correct
Pedro Alves
palves@redhat.com
Fri Apr 8 17:49:00 GMT 2016
On 04/07/2016 09:13 PM, Martin Galvan wrote:
> I did a quick pass over value.c and value.h and made some of the accessor methods'
> pass-by-reference parameters const-correct. Besides the obvious benefits, this is
> required if we want to use them on values that are already declared as const
> (such as the parameters to lval_funcs).
>
> There's probably a lot more stuff that can be made const, here and elsewhere.
>
> I have write access and copyright assignment. Ok to commit?
>
OK.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list