diff options
author | Jakub Dupak <dev@jakubdupak.com> | 2023-03-11 20:36:11 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-13 18:09:47 +0000 |
commit | 048971cf4284e8eaf71060d3136495b1111793d9 (patch) | |
tree | 4aaaa577d034b747f1526c429dedf73dfc340117 /gcc/rust/resolve | |
parent | f31fc7b0f6fb22e84a27dc68f69cb0fca9707879 (diff) | |
download | gcc-048971cf4284e8eaf71060d3136495b1111793d9.zip gcc-048971cf4284e8eaf71060d3136495b1111793d9.tar.gz gcc-048971cf4284e8eaf71060d3136495b1111793d9.tar.bz2 |
hir: Unify indentation approach with ast
gcc/rust/ChangeLog:
* ast/rust-ast-dump.cc (Indent::Indent): Move to separate file.
(operator<<): Move to separate file.
(Indent::increment): Move to separate file.
(Indent::decrement): Move to separate file.
* ast/rust-ast-dump.h (class Indent): Move to separate file.
* hir/rust-hir-dump.cc (Dump::Dump): Use new indentation object.
(Dump::go): Use new indentation object.
(Dump::visit): Use new indention object.
* hir/rust-hir-dump.h: Use new indentation object.
* util/rust-dump.h: New file. Moved Indentation from rust-ast-dump.cc
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions