aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-item.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-27 13:09:34 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2023-03-30 16:48:28 +0200
commit848bd4dfeb116f6cb029ccb44735c4c905ca46ca (patch)
treebaacf713f23151805ca295c0a64ffd0e285e0617 /gcc/rust/resolve/rust-ast-resolve-item.cc
parentc3a62ea7d7849efdee24808b5ebd4902af16d57e (diff)
downloadgcc-848bd4dfeb116f6cb029ccb44735c4c905ca46ca.zip
gcc-848bd4dfeb116f6cb029ccb44735c4c905ca46ca.tar.gz
gcc-848bd4dfeb116f6cb029ccb44735c4c905ca46ca.tar.bz2
session: Add tokenstream dump option
Add an option to the command line interface to dump the ast back to a tokenstream. gcc/rust/ChangeLog: * rust-session-manager.cc (Session::enable_dump): Enable new dump. (Session::compile_crate): CLI argument parsing. (Session::dump_tokenstream): Dump the tokenstream as a string in the specified file. * rust-session-manager.h (struct CompileOptions): Add tokenstream dump option. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-item.cc')
0 files changed, 0 insertions, 0 deletions