diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-02-04 20:24:32 -0500 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-04-13 11:50:47 +0000 |
commit | b0487d6731d5d901154396e1d804a671371ac2eb (patch) | |
tree | 42a3972abb87daeef24352586c256c326b951466 /gcc/rust/resolve | |
parent | 0a00ea70db1e99060b59e521e438fdfd4e1d98ec (diff) | |
download | gcc-b0487d6731d5d901154396e1d804a671371ac2eb.zip gcc-b0487d6731d5d901154396e1d804a671371ac2eb.tar.gz gcc-b0487d6731d5d901154396e1d804a671371ac2eb.tar.bz2 |
Move method as_string into HIR::ExprStmt from deriving classes
gcc/rust/ChangeLog:
* hir/tree/rust-hir.cc
(ExprStmt::as_string): Add method.
(ExprStmtWithBlock::as_string): Remove method.
(ExprStmtWithoutBlock::as_string): Remove method.
* hir/tree/rust-hir-stmt.h
(ExprStmt::as_string): Add method.
(ExprStmtWithBlock::as_string): Remove method.
(ExprStmtWithoutBlock::as_string): Remove method.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions