diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-30 16:28:12 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:44 +0100 |
commit | 36b22e639078d8ca5db5ee0d3002a174a048e813 (patch) | |
tree | 86cf5943312c22cc16a0b9027da1489e8e185d8f /gcc/rust/ast/rust-ast-dump.h | |
parent | 88c5d5555530b6dc54f5aeb3dc5735aa8153a602 (diff) | |
download | gcc-36b22e639078d8ca5db5ee0d3002a174a048e813.zip gcc-36b22e639078d8ca5db5ee0d3002a174a048e813.tar.gz gcc-36b22e639078d8ca5db5ee0d3002a174a048e813.tar.bz2 |
gccrs: 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/ast/rust-ast-dump.h')
0 files changed, 0 insertions, 0 deletions