gccrs: Change FunctionParam to represent variadic params
commitf1cca5671f928dd749ac14108ff8b01ecfbd634d
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 18 Oct 2023 12:24:31 +0000 (18 14:24 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:13:11 +0000 (16 19:13 +0100)
tree944daf31bbae51ecc5b5161add86bb366f17c05b
parent59bd1fc1a4453792aec4314df03b16d784bfcfbd
gccrs: Change FunctionParam to represent variadic params

Variadic were represented at the function level while retaining most
informations of a given parameter.

gcc/rust/ChangeLog:

* ast/rust-item.h (class FunctionParam): Add some informations to
function parameters in order to be able to store variadic argument as
a function parameter.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-item.h