]> gcc.gnu.org Git - gcc.git/commit
gccrs: expand: Change names and document behavior
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 21 Jun 2023 13:56:26 +0000 (15:56 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:46:29 +0000 (18:46 +0100)
commit1891acf2bdd0cdce74e53c7c90ddedae47742624
tree4634797033d51be6be973b3c1284f15eecd9185e
parent13557769abc6f575fa9cd994849c20ccf60dda52
gccrs: 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>
gcc/rust/ast/rust-ast.cc
gcc/rust/expand/rust-expand-visitor.cc
This page took 0.062081 seconds and 6 git commands to generate.