diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-30 20:40:07 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-04-05 08:20:48 +0000 |
commit | 11d6828d7428dff868c3788dfbcbaa8189d2fa50 (patch) | |
tree | 287face1623fd8a967b30111bf79d66927486afa /gcc/rust/backend/rust-compile-block.h | |
parent | 6ad6a78a4ae42358e1f2cbd36f26740ae05e2146 (diff) | |
download | gcc-11d6828d7428dff868c3788dfbcbaa8189d2fa50.zip gcc-11d6828d7428dff868c3788dfbcbaa8189d2fa50.tar.gz gcc-11d6828d7428dff868c3788dfbcbaa8189d2fa50.tar.bz2 |
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/backend/rust-compile-block.h')
0 files changed, 0 insertions, 0 deletions