aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir.h
diff options
context:
space:
mode:
authorJakub Dupak <dev@jakubdupak.com>2023-03-11 20:36:11 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:21:09 +0100
commit7fb5366831a2c3e0a9401b3deb3e453be5a481e9 (patch)
tree9d44e3b7687ef1050f93c944af60fcca026853c4 /gcc/rust/hir/tree/rust-hir.h
parenta042b4954051709014d88a814185e4d33ba3afa8 (diff)
downloadgcc-7fb5366831a2c3e0a9401b3deb3e453be5a481e9.zip
gcc-7fb5366831a2c3e0a9401b3deb3e453be5a481e9.tar.gz
gcc-7fb5366831a2c3e0a9401b3deb3e453be5a481e9.tar.bz2
gccrs: 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/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions