]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add a function to check if a function is variadic
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 18 Oct 2023 13:04:58 +0000 (15:04 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:13:12 +0000 (19:13 +0100)
commit41f480d16d3c6cc1e901d2ae3fcd4a9b5706aa51
tree62aed0930a520409dfcfac3fbe93b29190703557
parent6ac7d47338bb8c34f3751be77be05fa9ca456921
gccrs: Add a function to check if a function is variadic

This function provides an easy way to check for a function's varidicity.

gcc/rust/ChangeLog:

* ast/rust-item.h: Add a getter to check if a given function is
variadic.

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