diff options
author | Marc Poulhiès <dkm@kataplop.net> | 2023-06-29 20:47:16 +0200 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-06-30 17:15:14 +0000 |
commit | f044da10735895f0da58c68eb42eba8ac9c82b89 (patch) | |
tree | 5d5aa153b9b77f0808c1173d34fd052f04f3161c /gcc/rust/hir/rust-hir-dump.cc | |
parent | dc59fc36db0f9d006044e4a0297afae1543bb7a3 (diff) | |
download | gcc-f044da10735895f0da58c68eb42eba8ac9c82b89.zip gcc-f044da10735895f0da58c68eb42eba8ac9c82b89.tar.gz gcc-f044da10735895f0da58c68eb42eba8ac9c82b89.tar.bz2 |
gccrs: Add new getters
Some class members were not accessible from outside, which will be needed
for the new HIR dump.
gcc/rust/ChangeLog:
* hir/tree/rust-hir-expr.h (AwaitExpr::get_awaited_expr): New.
(AsyncBlockExpr::get_has_move, AsyncBlockExpr::get_block_expr): New.
* hir/tree/rust-hir-item.h (Enum::get_where_clause): New.
(Trait::get_where_clause, Trait::is_unsafe): New.
(ExternalItem::get_visibility): New.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions