diff options
| author | Marc Poulhiès <dkm@kataplop.net> | 2023-08-10 23:06:32 +0200 |
|---|---|---|
| committer | Philip Herron <philip.herron@embecosm.com> | 2023-08-12 17:22:19 +0000 |
| commit | 086b7f9c9ae653a5f847cbe2edd3c46874c62d20 (patch) | |
| tree | 17b9b85b44c91280b3bef2f560b6e65aaebba5f6 /gcc/rust/backend | |
| parent | c10d668b5076a38a7f1b2b13c948be68dcf57ea1 (diff) | |
| download | gcc-086b7f9c9ae653a5f847cbe2edd3c46874c62d20.zip gcc-086b7f9c9ae653a5f847cbe2edd3c46874c62d20.tar.gz gcc-086b7f9c9ae653a5f847cbe2edd3c46874c62d20.tar.bz2 | |
gccrs: Cleanup HIR dump
visit_field() correctly handles empty unique_ptr<> and displays "none".
gcc/rust/ChangeLog:
* hir/rust-hir-dump.cc (Dump::visit): Remove useless if/else
already handled by visit_field.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions
