diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-05 11:24:35 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-08 14:32:35 +0200 |
commit | 588b130c7cc9ebdf2bcbf23856f11ebf39625375 (patch) | |
tree | 0679f3c9bc88669be674a6a664a41c983eb60c31 /gcc/rust/resolve | |
parent | b21aa448a4595208415e269aa1080846064029c8 (diff) | |
download | gcc-588b130c7cc9ebdf2bcbf23856f11ebf39625375.zip gcc-588b130c7cc9ebdf2bcbf23856f11ebf39625375.tar.gz gcc-588b130c7cc9ebdf2bcbf23856f11ebf39625375.tar.bz2 |
expand: Expand item level attribute proc macros
Expand custom attributes from procedural macros at item level.
gcc/rust/ChangeLog:
* expand/rust-expand-visitor.cc (expand_attribute): Add function
to expand a given attribute on a given item.
* expand/rust-macro-expand.h (struct MacroExpander): Change
return type to ast fragment.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions