]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: expand: Add call to outer attributes stubs
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Fri, 31 Mar 2023 10:17:04 +0000 (12:17 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:28:45 +0000 (18:28 +0100)
commit4210e02e82289dbf6203418e86fed68153844361
treeea3000d60ffa34d39d7e1d416277538a4ce07d4c
parentb0ab106df5fb26f9fbc971c3034a6391d2292ce0
gccrs: expand: Add call to outer attributes stubs

Add call to outer attribute expansion stub on required types.

gcc/rust/ChangeLog:

* expand/rust-expand-visitor.cc (ExpandVisitor::expand_struct_fields):
Add call to expand structu fields.
(ExpandVisitor::expand_function_params): Add call to expand
function parameters.
(ExpandVisitor::expand_closure_params): Add call to expand
closure parameters.
(ExpandVisitor::visit): Add calls for item outer attribute
expansions.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/expand/rust-expand-visitor.cc