gcc/libcc1
Tom Tromey 0f237df286 libcc1: add more uses of 'deleter'
This changes libcc1 to use the 'deleter' template in a few more
places.  The template and basic specializations are moved to a new
header, then some unmarshall functions are changed to use this code.
This change avoids the need to repeat cleanup code in the
unmarshallers.

libcc1

	* rpc.hh (deleter): Move template and some specializations to
	deleter.hh.
	(argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
	* marshall.cc (cc1_plugin::unmarshall): Use
	cc1_plugin::unique_ptr.
	* marshall-cp.hh (deleter): New specializations.
	(unmarshall): Use cc1_plugin::unique_ptr.
	* deleter.hh: New file.
2021-05-05 00:06:17 -06:00
..
aclocal.m4 libcc1: Enable Intel CET on Intel CET enabled host 2020-05-12 09:12:37 -07:00
callbacks.cc Update copyright years. 2021-01-04 10:26:59 +01:00
callbacks.hh libcc1: delete copy constructor and assignment operators 2021-05-05 00:06:16 -06:00
cc1plugin-config.h.in
ChangeLog Daily bump. 2021-05-04 00:16:53 +00:00
compiler-name.hh Update copyright years. 2021-01-04 10:26:59 +01:00
configure GCC_CET_HOST_FLAGS: Check if host supports multi-byte NOPs 2021-05-03 05:01:23 -07:00
configure.ac Update copyright years. 2021-01-04 10:26:59 +01:00
connection.cc libcc1: inline some simple methods 2021-05-05 00:06:16 -06:00
connection.hh libcc1: delete copy constructor and assignment operators 2021-05-05 00:06:16 -06:00
deleter.hh libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
findcomp.cc Update copyright years. 2021-01-04 10:26:59 +01:00
findcomp.hh Update copyright years. 2021-01-04 10:26:59 +01:00
libcc1.cc libcc1: use variadic templates for "rpc" 2021-05-05 00:06:16 -06:00
libcc1.sym Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcc1plugin.cc libcc1: use std::vector when building function types 2021-05-05 00:06:16 -06:00
libcc1plugin.sym
libcp1.cc libcc1: use variadic templates for "rpc" 2021-05-05 00:06:16 -06:00
libcp1plugin.cc libcc1: use std::vector when building function types 2021-05-05 00:06:16 -06:00
libcp1plugin.sym Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
Makefile.am Update copyright years. 2021-01-04 10:26:59 +01:00
Makefile.in Darwin : Update libtool and dependencies for Darwin20 [PR97865] 2020-12-05 08:43:20 +00:00
marshall-cp.hh libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
marshall.cc libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
marshall.hh libcc1: use variadic templates for "call" 2021-05-05 00:06:16 -06:00
names.cc Update copyright years. 2021-01-04 10:26:59 +01:00
names.hh Update copyright years. 2021-01-04 10:26:59 +01:00
rpc.hh libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
status.hh Update copyright years. 2021-01-04 10:26:59 +01:00