This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Replace int with enum block_enum where appropriate.
- From: "Christian Biesinger via gdb-patches" <gdb-patches at sourceware dot org>
- To: Tom Tromey <tom at tromey dot com>
- Cc: Christian Biesinger via gdb-patches <gdb-patches at sourceware dot org>
- Date: Tue, 6 Aug 2019 11:51:46 -0500
- Subject: Re: [PATCH] Replace int with enum block_enum where appropriate.
- References: <20190805185833.236434-1-cbiesinger@google.com> <874l2ubdy2.fsf@tromey.com>
- Reply-to: Christian Biesinger <cbiesinger at google dot com>
On Tue, Aug 6, 2019 at 8:50 AM Tom Tromey <tom@tromey.com> wrote:
>
> >>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:
>
> Christian> For better readability and type safety.
> Christian> gdb/ChangeLog:
>
> Christian> 2019-08-05 Christian Biesinger <cbiesinger@google.com>
>
> Christian> * symtab.c (symbol_cache_lookup): Change int to enum block_enum.
> Christian> (error_in_psymtab_expansion): Likewise.
> Christian> (lookup_symbol_via_quick_fns): Likewise.
> Christian> (basic_lookup_transparent_type_quick): Likewise.
> Christian> (basic_lookup_transparent_type_1): Likewise.
>
> Thank you. This is ok.
Thanks, pushed.