[PATCH] Replace int with enum block_enum where appropriate.

Christian Biesinger via gdb-patches gdb-patches@sourceware.org
Tue Aug 6 16:52:00 GMT 2019


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.



More information about the Gdb-patches mailing list