]> git.ipfire.org Git - thirdparty/gcc.git/commit
libcc1: use variadic templates for "call"
authorTom Tromey <tom@tromey.com>
Tue, 4 May 2021 21:26:58 +0000 (15:26 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 5 May 2021 06:06:16 +0000 (00:06 -0600)
commitdc6be7c02258f6c79ed97b6886c81278ef7f264d
treef28421f9321410cebe73ed51df961032693293ff
parentc10a3b13fec850effc68c8b4f8861158f7fa7fed
libcc1: use variadic templates for "call"

This changes libcc1 to use variadic templates for the "call"
functions.  The primary benefit is that this simplifies the code.

libcc1

* rpc.hh (call): Use variadic template.  Remove overloads.
* marshall.hh (marshall): Add base overload.  Use variadic
template.
libcc1/marshall.hh
libcc1/rpc.hh