]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix ForeverStack::find_starting_point output parameter
authorOwen Avery <powerboat9.gamer@gmail.com>
Mon, 11 Nov 2024 21:04:58 +0000 (16:04 -0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Fri, 21 Mar 2025 11:33:11 +0000 (12:33 +0100)
commit588ded8766e16fe2e9c2a657935cde519dad454e
treeae2bff56c9c9f5b18d3ecdb3729cb3bf571fbf11
parent9f1086da1060e87784118901bba826317ddedd46
gccrs: Fix ForeverStack::find_starting_point output parameter

gcc/rust/ChangeLog:

* resolve/rust-forever-stack.h
(ForeverStack::find_starting_point): Use type
'std::reference_wrapper<Node> &' instead of 'Node &' for
parameter starting_point.
* resolve/rust-forever-stack.hxx
(ForeverStack::find_starting_point): Likewise.
(ForeverStack::resolve_path): Handle change to
ForeverStack::find_starting_point.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/resolve/rust-forever-stack.h
gcc/rust/resolve/rust-forever-stack.hxx