gccrs: dump: Add AST debugging using the AST::Dump class
commit7dc41901213d32ff9962f1d54cc6291c38d0e597
authorArthur Cohen <arthur.cohen@embecosm.com>
Mon, 29 Aug 2022 11:37:00 +0000 (29 13:37 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 31 Jan 2023 13:16:50 +0000 (31 14:16 +0100)
tree3dbd53c6e69472064f60d32d4d9ddcfd858109e1
parent252216dd0c5956dfb931031fd1f8dfa59c922160
gccrs: dump: Add AST debugging using the AST::Dump class

gcc/rust/ChangeLog:

* ast/rust-ast-dump.h: Add shorthand `AST::Dump::debug` function to
dump an AST node on `stderr`.
gcc/rust/ast/rust-ast-dump.h