diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-04-08 02:24:03 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-04-13 11:50:47 +0000 |
commit | 47b92ff1835ea0aa27c490600c40ae2ddb8681a1 (patch) | |
tree | a29ea3f711627adc8658c9f26806606c54fb374c /gcc/rust/resolve | |
parent | 862ec75eaf907fdaf5eac5b467ebafb7f5bf2795 (diff) | |
download | gcc-47b92ff1835ea0aa27c490600c40ae2ddb8681a1.zip gcc-47b92ff1835ea0aa27c490600c40ae2ddb8681a1.tar.gz gcc-47b92ff1835ea0aa27c490600c40ae2ddb8681a1.tar.bz2 |
Fully unify deriving classes into HIR::ExprStmt
gcc/rust/ChangeLog:
* hir/tree/rust-hir-full-decls.h
(class ExprStmtWithoutBlock): Remove.
(class ExprStmtWithBlock): Remove.
* hir/tree/rust-hir-stmt.h
(class ExprStmt):
Add remaining ExprStmtWith{,out}Block functionality.
(class ExprStmtWithoutBlock): Remove.
(class ExprStmtWithBlock): Remove.
* hir/rust-ast-lower-stmt.cc
(ASTLoweringStmt::visit):
Lower to HIR::ExprStmt instead of deriving class.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions