public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1473
@ 2022-08-29 15:36 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-08-29 15:36 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5b3c4be73fb72cb87d9a135415ed421a0808ff3b
commit 5b3c4be73fb72cb87d9a135415ed421a0808ff3b
Merge: d3cf195ab46 a9055d8294f
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Thu Aug 25 14:03:30 2022 +0000
Merge #1473
1473: Improve AST dump r=CohenArthur a=CohenArthur
Let's abuse C++ a little bit to make dumping and the chaining of dumping operations easier. If anyone has input feel free, this is definitely a roundabout way to go about it.
This also adds pretty printing of the expanded AST, which can be useful to debug macros or `cfg` invocations
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/ast/rust-ast-dump.cc | 96 ++++++++++++++++++++++++++--------------
gcc/rust/ast/rust-ast-dump.h | 6 +++
gcc/rust/rust-session-manager.cc | 10 ++++-
gcc/rust/rust-session-manager.h | 2 +-
4 files changed, 79 insertions(+), 35 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-29 15:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-29 15:36 [gcc/devel/rust/master] Merge #1473 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).