]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: derive-visitor: Add method for setting up derived impl generics
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Jan 2025 09:50:30 +0000 (10:50 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:06:59 +0000 (13:06 +0100)
commit4851916f1837b29b3feb1cc9ee20786998433fcb
tree295e1082f10646c5fbcf1981fb1dd4fd75c3577e
parent554150f889ad2a00456c1d5c44bf12e025557aaa
gccrs: derive-visitor: Add method for setting up derived impl generics

gcc/rust/ChangeLog:

* expand/rust-derive.cc (DeriveVisitor::setup_impl_generics): New method.
* expand/rust-derive.h: Declare it, define DeriveVisitor::ImplGenerics struct.
gcc/rust/expand/rust-derive.cc
gcc/rust/expand/rust-derive.h