diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-22 00:16:17 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:46:31 +0100 |
commit | 766b6fc0c7d510e80e49af0fb85a23492aa42675 (patch) | |
tree | 60ff5dc0ea8a6fe33d745def45e810f39e3703a4 /gcc/rust/hir/tree/rust-hir.h | |
parent | ddc51b22bd8fff3a667cc9429aed5dfd5a6d9777 (diff) | |
download | gcc-766b6fc0c7d510e80e49af0fb85a23492aa42675.zip gcc-766b6fc0c7d510e80e49af0fb85a23492aa42675.tar.gz gcc-766b6fc0c7d510e80e49af0fb85a23492aa42675.tar.bz2 |
gccrs: 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/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions