Re: [PATCH] Constify `struct expression' in operator_length

Tom Tromey
2010-06-04T21:32:44Z

>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:

Sergio> Due to Joel's suggestion on
Sergio> <http://sourceware.org/ml/gdb-patches/2010-05/msg00689.html>, I
Sergio> decided to post this patch in order to constify the `struct
Sergio> expression' argument of the operator_length class of functions.

Sergio> Ok to apply?

Yes. Thanks for doing this, I think more const-correctness (when
appropriate, of course) helps make the code more understandable.

Tom