aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-block.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-30 16:28:12 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-04-05 08:20:48 +0000
commitb109e685aae985e8feef0bd14728ba580c731d2f (patch)
treead7624a0e205582352f53816386cc5b5bb983df4 /gcc/rust/backend/rust-compile-block.h
parent7035cd6ba104fb1e600528ae6a91eda736029d4c (diff)
downloadgcc-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-block.h')
0 files changed, 0 insertions, 0 deletions