Re: [PATCH 27/40] Make cp_remove_params return a unique_ptr

Keith Seitz
2017-08-08T20:35:59Z

On 06/02/2017 05:22 AM, Pedro Alves wrote:
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Alves <palves@redhat.com>
>
> (overload_list_add_symbol): Adjust to use gdb::unique_xmalloc_ptr.
> * cp-support.h (cp_remove_params): Now returns a
> gdb::unique_xmalloc_ptr.
> * dwarf2read.c (find_slot_in_mapped_hash): Now returns bool.
> Adjust to use gdb::unique_xmalloc_ptr.
> (dw2_expand_symtabs_matching_symbol): Adjust to use
> gdb::unique_xmalloc_ptr.
> * psymtab.c (psymtab_search_name): Now returns a
> gdb::unique_xmalloc_ptr.
> (lookup_partial_symbol): Adjust to use gdb::unique_xmalloc_ptr.
> * stack.c (find_frame_funname): Adjust to use
> gdb::unique_xmalloc_ptr.

LGTM

Keith