-
- Downloads
gccrs: ast: Dump where clause and recursively needed nodes
This is currently needed for lifetimes to use the existing infrastructure.
gcc/rust/ChangeLog:
* ast/rust-ast-dump.cc (Dump::visit): Add missing visitors.
* ast/rust-ast-dump.h: Likewise.
* ast/rust-ast.h: Add `get_lifetime_bounds` method.
* ast/rust-item.h: Add missing getter for lifetimes.
* ast/rust-type.h: Likewise.
Signed-off-by:
Jakub Dupak <dev@jakubdupak.com>
Showing
- gcc/rust/ast/rust-ast-dump.cc 123 additions, 17 deletionsgcc/rust/ast/rust-ast-dump.cc
- gcc/rust/ast/rust-ast-dump.h 2 additions, 0 deletionsgcc/rust/ast/rust-ast-dump.h
- gcc/rust/ast/rust-ast.h 2 additions, 0 deletionsgcc/rust/ast/rust-ast.h
- gcc/rust/ast/rust-item.h 2 additions, 0 deletionsgcc/rust/ast/rust-item.h
- gcc/rust/ast/rust-type.h 2 additions, 0 deletionsgcc/rust/ast/rust-type.h
Loading
Please register or sign in to comment