binutils-gdb/gdb/compile
Keith Seitz bd923e5108 Return unique_xmalloc_ptr for generate_c_for_variable_locations
This patch eliminates two cleanups in compile/ by changing
generate_c_for_variable_locations so that it returns a unique_ptr.

gdb/ChangeLog:
        * compile/compile-c-support.c (c_compute_program): Use
        unique_xmalloc_ptr to eliminate cleanup.
        * compile/compile-c-symbols.c (generate_c_for_variable_locations):
        Return a unique_xmalloc_ptr and eliminate cleanup.
        * compile/compile-internal.h (generate_c_for_variable_locations):
        Return unique_xmalloc_ptr and update description.
2018-08-10 11:14:25 -07:00
..
compile-c-support.c Return unique_xmalloc_ptr for generate_c_for_variable_locations 2018-08-10 11:14:25 -07:00
compile-c-symbols.c Return unique_xmalloc_ptr for generate_c_for_variable_locations 2018-08-10 11:14:25 -07:00
compile-c-types.c Add libcc1 v1 compatibility to C compile feature 2018-04-27 12:36:19 -07:00
compile-internal.h Return unique_xmalloc_ptr for generate_c_for_variable_locations 2018-08-10 11:14:25 -07:00
compile-loc2c.c
compile-object-load.c Simple unused variable removals 2018-07-22 13:20:01 -06:00
compile-object-load.h
compile-object-run.c
compile-object-run.h
compile.c Use counted_command_line everywhere 2018-05-04 15:58:06 -06:00
compile.h