libcc1: use variadic templates for "rpc"
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)
commit410d5719b78519d8c53855a4c789cc0d656b480a
treefa4ebe59ac50b010f8800dc784a295e05cc637a6
parentdc6be7c02258f6c79ed97b6886c81278ef7f264d
libcc1: use variadic templates for "rpc"

This changes libcc1 to use variadic templates for the "rpc" functions.
This simplifies the code and removes some possibility for mistakes.

libcc1

* libcp1.cc (rpc): Use variadic template.  Remove overloads.
* libcc1.cc (rpc): Use variadic template.  Remove overloads.
libcc1/libcc1.cc
libcc1/libcp1.cc