binutils-gdb/gdb/compile
Tom Tromey 8f84fb0ee8 Use std::string and unique_xmalloc_ptr in compile/ code
Change various things in the compile/ code to use std::string or
unique_xmalloc_ptr as appropriate.  This allows the removal of some
cleanups.

ChangeLog
2017-09-03  Tom Tromey  <tom@tromey.com>

	* compile/compile.c (compile_register_name_mangled): Return
	std::string.
	* compile/compile-loc2c.c (pushf_register_address): Update.
	(pushf_register): Update.
	* compile/compile-c-types.c (convert_array): Update.
	* compile/compile-c-symbols.c (generate_vla_size): Update.
	(error_symbol_once): Use a gdb::unique_xmalloc_ptr.
	(symbol_substitution_name): Return a gdb::unique_xmalloc_ptr.
	(convert_one_symbol): Update.
	(generate_c_for_for_one_variable): Update.
	* compile/compile-c-support.c (c_get_range_decl_name): Return a
	std::string.
	(generate_register_struct): Update.
	* compile/compile-internal.h (c_get_range_decl_name): Return a
	std::string.
	(compile_register_name_mangled): Return std::string.
2017-09-03 13:03:10 -06:00
..
compile-c-support.c Use std::string and unique_xmalloc_ptr in compile/ code 2017-09-03 13:03:10 -06:00
compile-c-symbols.c Use std::string and unique_xmalloc_ptr in compile/ code 2017-09-03 13:03:10 -06:00
compile-c-types.c Use std::string and unique_xmalloc_ptr in compile/ code 2017-09-03 13:03:10 -06:00
compile-internal.h Use std::string and unique_xmalloc_ptr in compile/ code 2017-09-03 13:03:10 -06:00
compile-loc2c.c Use std::string and unique_xmalloc_ptr in compile/ code 2017-09-03 13:03:10 -06:00
compile-object-load.c Use gdb::unique_xmalloc_ptr when calling tilde_expand 2017-08-05 15:52:49 -06:00
compile-object-load.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile-object-run.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile-object-run.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile.c Use std::string and unique_xmalloc_ptr in compile/ code 2017-09-03 13:03:10 -06:00
compile.h Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00