-
- Downloads
gccrs: ast: Dump bare function type
+ Return FunctionQualifiers as ref to work in ast dump
gcc/rust/ChangeLog:
* ast/rust-ast-dump.cc (Dump::visit): Add missing visitor.
* ast/rust-ast-dump.h: Add missing getter declaration.
* ast/rust-ast-full-test.cc (BareFunctionType::as_string): Fix bare function
string representation.
* ast/rust-type.h (class BareFunctionType): Declare said getter.
Signed-off-by:
Jakub Dupak <dev@jakubdupak.com>
Showing
- gcc/rust/ast/rust-ast-dump.cc 92 additions, 2 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-full-test.cc 1 addition, 1 deletiongcc/rust/ast/rust-ast-full-test.cc
- gcc/rust/ast/rust-type.h 16 additions, 6 deletionsgcc/rust/ast/rust-type.h
Loading
Please register or sign in to comment