diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-04-08 02:24:03 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:47 +0100 |
commit | e7312c67a713ff2686b11d689b11eb94d5a88581 (patch) | |
tree | 91d753f74a803dc6f6ba5ecb588e8953b820975e /gcc/rust/ast/rust-ast.cc | |
parent | d93a1f032db86fe602566a6868b9bc5279554e71 (diff) | |
download | gcc-e7312c67a713ff2686b11d689b11eb94d5a88581.zip gcc-e7312c67a713ff2686b11d689b11eb94d5a88581.tar.gz gcc-e7312c67a713ff2686b11d689b11eb94d5a88581.tar.bz2 |
gccrs: 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/ast/rust-ast.cc')
0 files changed, 0 insertions, 0 deletions