diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-21 15:56:26 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-06-22 08:49:35 +0000 |
commit | 3ccf008b148455c4800f2a7c70be03e1dd708c59 (patch) | |
tree | b18e35ea8f0c5e31fa954c100b87cbaf55e4b372 /gcc/rust/resolve | |
parent | be6d7343a5dfd535af91ad5a2e4e08ffef2d2013 (diff) | |
download | gcc-3ccf008b148455c4800f2a7c70be03e1dd708c59.zip gcc-3ccf008b148455c4800f2a7c70be03e1dd708c59.tar.gz gcc-3ccf008b148455c4800f2a7c70be03e1dd708c59.tar.bz2 |
expand: Change names and document behavior
Change some argument name, as well as some documentation.
gcc/rust/ChangeLog:
* ast/rust-ast.cc (BlockExpr::normalize_tail_expr): Refactor
code and warn about dangling reference.
* expand/rust-expand-visitor.cc (expand_stmt_attribute):
Document function and change argument names to make those
clearer.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions