]> git.ipfire.org Git - thirdparty/gcc.git/commit
Some assorted tweaks and bug fixes
authorOwen Avery <powerboat9.gamer@gmail.com>
Sat, 11 Jan 2025 05:15:05 +0000 (00:15 -0500)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Mon, 28 Apr 2025 11:13:51 +0000 (11:13 +0000)
commit7409c28ee0aa6c43149201e79969031a3021a6dd
tree643eb71d942a6f23160c7b0ce8cfb9a266cb02a2
parentb22c7d8df0b3adb17d26f302d192bef1816d5bca
Some assorted tweaks and bug fixes

gcc/rust/ChangeLog:

* ast/rust-ast-visitor.cc
(DefaultASTVisitor::visit): Visit the loop labels of
WhileLetLoopExpr instances before visiting their scrutinee
expressions.
* resolve/rust-early-name-resolver-2.0.cc
(Early::resolve_glob_import): Pass the glob import's path
directly to NameResolutionContext::resolve_path.
* resolve/rust-toplevel-name-resolver-2.0.cc
(TopLevel::visit): Remove unnecessary call to
Identifier::as_string.
(flatten_glob): Improve handling of cases where a glob use tree
has no path.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/ast/rust-ast-visitor.cc
gcc/rust/resolve/rust-early-name-resolver-2.0.cc
gcc/rust/resolve/rust-toplevel-name-resolver-2.0.cc