diff options
author | Marc Poulhiès <dkm@kataplop.net> | 2023-04-26 23:08:30 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:34:14 +0100 |
commit | 98142ce7cc4522fd9dadba0e458905611e5bacfc (patch) | |
tree | 4197e03f2227f11d29d4724fa93cd4edfd197746 /gcc/rust/hir | |
parent | 8b7ab6f2f26c78309597f998c768e4e539db75bb (diff) | |
download | gcc-98142ce7cc4522fd9dadba0e458905611e5bacfc.zip gcc-98142ce7cc4522fd9dadba0e458905611e5bacfc.tar.gz gcc-98142ce7cc4522fd9dadba0e458905611e5bacfc.tar.bz2 |
gccrs: Minor tuning in AST dump
Use parentheses to remove any ambiguities when dumping expressions with
unary ! and -.
gcc/rust/ChangeLog:
* ast/rust-ast-dump.cc (Dump::visit): print parentheses around
unique expression operand.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions