aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-09 17:13:41 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-06-22 08:49:35 +0000
commit650ae19d146ae80a0c0e13eb2ac979c8b7306fa9 (patch)
treef074ad9f596b2e30a240ecfb05bf0f3b9e0e28e7 /gcc/rust/resolve
parent5ab2f1b3aafa13ff4115a67bb576e5387513b8e9 (diff)
downloadgcc-650ae19d146ae80a0c0e13eb2ac979c8b7306fa9.zip
gcc-650ae19d146ae80a0c0e13eb2ac979c8b7306fa9.tar.gz
gcc-650ae19d146ae80a0c0e13eb2ac979c8b7306fa9.tar.bz2
expand: Add tail expr expansion
Tail expression may contain attribute and thus should be expanded. gcc/rust/ChangeLog: * ast/rust-expr.h: Add a function to take tail expr as well as a function to set a tail expression. * expand/rust-expand-visitor.cc (expand_tail_expr): Add tail expression expansion function. (ExpandVisitor::visit): Add call to tail expr expansion in for BlockExpr. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions