aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-05-25 15:46:47 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-06-22 08:49:35 +0000
commit5ab2f1b3aafa13ff4115a67bb576e5387513b8e9 (patch)
treebc26f418235cf8a695b409f83709c631ab20fc0e /gcc/rust/resolve
parentd3b247e73368e2e50d71ce8c003e761469b1ec98 (diff)
downloadgcc-5ab2f1b3aafa13ff4115a67bb576e5387513b8e9.zip
gcc-5ab2f1b3aafa13ff4115a67bb576e5387513b8e9.tar.gz
gcc-5ab2f1b3aafa13ff4115a67bb576e5387513b8e9.tar.bz2
expand: Derive statements
Expand procedural macros on statements properly. gcc/rust/ChangeLog: * expand/rust-expand-visitor.cc : Change type from pointer to reference and expand statements from statements. * ast/rust-macro.h: Return macro kind. * ast/rust-ast.h: Add Statement kind. * ast/rust-item.h: Change module. * ast/rust-stmt.h: Return kind. Co-authored-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions