diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-30 16:28:12 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-04-05 08:20:48 +0000 |
commit | b109e685aae985e8feef0bd14728ba580c731d2f (patch) | |
tree | ad7624a0e205582352f53816386cc5b5bb983df4 /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | 7035cd6ba104fb1e600528ae6a91eda736029d4c (diff) | |
download | gcc-b109e685aae985e8feef0bd14728ba580c731d2f.zip gcc-b109e685aae985e8feef0bd14728ba580c731d2f.tar.gz gcc-b109e685aae985e8feef0bd14728ba580c731d2f.tar.bz2 |
expand: Add derive expansion stubs
Add derive macros expansion stub functions.
gcc/rust/ChangeLog:
* expand/rust-expand-visitor.cc (ExpandVisitor::visit): Add call
to derive expander.
(ExpandVisitor::expand_derive): Expand a single derive.
(ExpandVisitor::visit_attrs_with_derive): Visit an item with
derive attributes.
(ExpandVisitor::is_derive): Identify a derive attribute.
* expand/rust-expand-visitor.h: Add function prototypes.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions