diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-23 20:30:53 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:41 +0100 |
commit | dfb5c1482892cd4ae1330fc1d152d45a0e6bc702 (patch) | |
tree | d3dd80e45355a5ce63fe5bb2958f06ce9c132491 /gcc/rust/ast/rust-ast-dump.h | |
parent | 547a27922a63b2add2bff6bd6807470df039cc6b (diff) | |
download | gcc-dfb5c1482892cd4ae1330fc1d152d45a0e6bc702.zip gcc-dfb5c1482892cd4ae1330fc1d152d45a0e6bc702.tar.gz gcc-dfb5c1482892cd4ae1330fc1d152d45a0e6bc702.tar.bz2 |
gccrs: ast: Add multiple formatting stub functions
Add multiple stub functions depending on the context. This will allow an
easier unification of ast dump.
gcc/rust/ChangeLog:
* ast/rust-ast-tokenstream.cc (TokenStream::visit_as_line): Add
formatting calls.
(TokenStream::visit_items_as_block): Likewise.
(TokenStream::newline): Add stub.
(TokenStream::indentation): Add stub.
(TokenStream::increment_indentation): Add stub.
(TokenStream::decrement_indentation): Add stub.
(TokenStream::visit): Add formatting calls.
(TokenStream::visit_function_common): Likewise.
* ast/rust-ast-tokenstream.h: Add stub prototypes.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast-dump.h')
0 files changed, 0 insertions, 0 deletions