diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-02-04 20:15:52 -0500 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-04-13 11:50:47 +0000 |
commit | 0a00ea70db1e99060b59e521e438fdfd4e1d98ec (patch) | |
tree | 51c69db49fe75f17e9d8efaa564b98547c877037 /gcc/rust/resolve | |
parent | 132a5011e384994e6121eb606f2442ca61fbe908 (diff) | |
download | gcc-0a00ea70db1e99060b59e521e438fdfd4e1d98ec.zip gcc-0a00ea70db1e99060b59e521e438fdfd4e1d98ec.tar.gz gcc-0a00ea70db1e99060b59e521e438fdfd4e1d98ec.tar.bz2 |
Move functionality into HIR::ExprStmt from deriving classes
gcc/rust/ChangeLog:
* hir/tree/rust-hir-stmt.h
(ExprStmt::expr): Add field.
(ExprStmt::get_expr): Add method.
(ExprStmt::ExprStmt): Add copy/move constructors, modify existing constructor.
(ExprStmt::operator=): Add assignment operator.
(ExprStmtWithoutBlock::expr): Remove field.
(ExprStmtWithoutBlock::get_expr): Remove method.
(ExprStmtWithoutBlock::ExprStmt):
Remove copy/move constructors, modify existing constructor.
(ExprStmtWithoutBlock::operator=): Remove assignment operator.
(ExprStmtWithBlock::expr): Remove field.
(ExprStmtWithBlock::get_expr): Remove method.
(ExprStmtWithBlock::ExprStmt): Remove copy/move constructors, modify existing constructor.
(ExprStmtWithBlock::operator=): Remove assignment operator.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions