binutils-gdb/gdb/compile
Tom Tromey f6c2623eb8 Return unique_xmalloc_ptr from macro scope functions
This changes the macro scope functions (sal_macro_scope,
user_macro_scope, and default_macro_scope) to return a
unique_xmalloc_ptr, then fixes up the users.  This allowed for the
removal of several cleanups.

2018-02-08  Tom Tromey  <tom@tromey.com>

	* symtab.c (default_collect_symbol_completion_matches_break_on):
	Use unique_xmalloc_ptr.
	* macroscope.h: (sal_macro_scope, user_macro_scope)
	(default_macro_scope): Return unique_xmalloc_ptr.
	* macroscope.c (sal_macro_scope, user_macro_scope)
	(default_macro_scope): Return unique_xmalloc_ptr.
	* macroexp.h (macro_expand, macro_expand_once): Return
	unique_xmalloc_ptr.
	* macroexp.c (macro_expand, macro_expand_once): Return
	unique_xmalloc_ptr.
	* macrocmd.c (macro_expand_command, macro_expand_once_command)
	(info_macro_command, info_macros_command): Use
	unique_xmalloc_ptr.
	* compile/compile-c-support.c (write_macro_definitions): Use
	unique_xmalloc_ptr.
	* c-exp.y (c_parse): Use unique_xmalloc_ptr.
2018-02-08 11:46:55 -07:00
..
compile-c-support.c Return unique_xmalloc_ptr from macro scope functions 2018-02-08 11:46:55 -07:00
compile-c-symbols.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-c-types.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-internal.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-loc2c.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-object-load.c Fix regresssion(internal-error) printing subprogram argument (PR gdb/22670) 2018-01-05 16:07:00 +00:00
compile-object-load.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-object-run.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-object-run.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile.c Fix warning on gdb/compile/compile.c (C++-ify "triplet_rx") 2018-01-17 18:05:42 -05:00
compile.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00