diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-10-21 18:35:30 -0400 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-10-24 06:57:31 +0000 |
commit | d833d233c205a5bd19bb9a3d8254b2f24cf2ce22 (patch) | |
tree | 6afb16129ee7d77e6bd51bc8130dc03a1e9dd196 /gcc/gcc-plugin.h | |
parent | 20ef2821922d1db2f5455f8dbf455f2f6764739c (diff) | |
download | gcc-d833d233c205a5bd19bb9a3d8254b2f24cf2ce22.zip gcc-d833d233c205a5bd19bb9a3d8254b2f24cf2ce22.tar.gz gcc-d833d233c205a5bd19bb9a3d8254b2f24cf2ce22.tar.bz2 |
Make const references to ForeverStack more useful
gcc/rust/ChangeLog:
* resolve/rust-forever-stack.h
(ForeverStack::to_canonical_path): Make const.
(ForeverStack::to_rib): Add const overload.
(ForeverStack::reverse_iter): Add const overloads.
(ForeverStack::ConstDfsResult): Add.
(ForeverStack::dfs): Add const overload.
(ForeverStack::dfs_rib): Likewise.
* resolve/rust-forever-stack.hxx
(ForeverStack::reverse_iter): Add const overloads.
(ForeverStack::dfs): Add const overload.
(ForeverStack::to_canonical_path): Make const.
(ForeverStack::dfs_rib): Likewise.
(ForeverStack::to_rib): Add const overload.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/gcc-plugin.h')
0 files changed, 0 insertions, 0 deletions