This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Constify `struct expression' in operator_length
- From: Tom Tromey <tromey at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Fri, 04 Jun 2010 15:32:07 -0600
- Subject: Re: [PATCH] Constify `struct expression' in operator_length
- References: <201006041819.00286.sergiodj@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "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