aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-23 13:59:51 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:31 +0100
commit1d28a62a0d75be55fd08c7cf163825d1b7caf967 (patch)
treeb3717c9e9e51c2728c029232b3c4ef46cea9498a /gcc/rust/hir/tree/rust-hir.h
parent2bf0087065b5b727bca77962b4e4a317cfbf5f6c (diff)
downloadgcc-1d28a62a0d75be55fd08c7cf163825d1b7caf967.zip
gcc-1d28a62a0d75be55fd08c7cf163825d1b7caf967.tar.gz
gcc-1d28a62a0d75be55fd08c7cf163825d1b7caf967.tar.bz2
gccrs: collector: Implement formatting options
The collector did only output the tokens without any formatting. gcc/rust/ChangeLog: * ast/rust-ast-collector.cc (TokenCollector::collect): Collect CollectItems once done. (TokenCollector::newline): Add newline formatting implementation. (TokenCollector::indentation): Add indentation implementation. (TokenCollector::increment_indentation): Add indentation increment. (TokenCollector::comment): Add new comment formatting option. * ast/rust-ast-collector.h: Update prototypes. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions