aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-22 00:16:17 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-06-29 12:30:17 +0000
commitfeddab8c7d7b74deb7ee24217b4d15a93ad56aa2 (patch)
tree15fd9e2f48f5118dade5f4c1e32721bc36cd7447 /gcc/rust/hir
parentbfc620f80a6c68b31b2f44c1646968d47228913d (diff)
downloadgcc-feddab8c7d7b74deb7ee24217b4d15a93ad56aa2.zip
gcc-feddab8c7d7b74deb7ee24217b4d15a93ad56aa2.tar.gz
gcc-feddab8c7d7b74deb7ee24217b4d15a93ad56aa2.tar.bz2
dump: Output separating space under condition
Separating space shall not be output between every tokens to make the dump clear and easy to read. gcc/rust/ChangeLog: * ast/rust-ast-dump.cc (Dump::require_spacing): Add a function to determine wether a space shall output. * ast/rust-ast-dump.h: Add function prototype as well as condition. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions