diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-30 20:40:07 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:45 +0100 |
commit | b0ab106df5fb26f9fbc971c3034a6391d2292ce0 (patch) | |
tree | 850cbff3c80a33d6d451712634764531bfcc9241 /gcc/rust/ast/rust-ast-dump.h | |
parent | 36bca0cc1bbdb9da64a58cd1a7afaad30634e456 (diff) | |
download | gcc-b0ab106df5fb26f9fbc971c3034a6391d2292ce0.zip gcc-b0ab106df5fb26f9fbc971c3034a6391d2292ce0.tar.gz gcc-b0ab106df5fb26f9fbc971c3034a6391d2292ce0.tar.bz2 |
gccrs: expand: Add stub function for attribute expansion
Add a stub function and utility functions that should be called on some
nodes to expand attribute procedural macros.
gcc/rust/ChangeLog:
* expand/rust-expand-visitor.cc (ExpandVisitor::expand_outer_attribute):
Stub for a single attribute expansion.
(ExpandVisitor::visit_outer_attrs): Visit the attributes to
expand on a given item.
* 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