aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-23 20:30:53 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-03-30 16:48:27 +0200
commitf580c1f44c47b7b06d2a87ba4dfb3384082cc881 (patch)
tree737f7d531e7a58530bb0eb343b0c368a8f10c448 /gcc/rust/resolve
parent08c2c0e02b13a16cdac47a69ec952a46f9670886 (diff)
downloadgcc-f580c1f44c47b7b06d2a87ba4dfb3384082cc881.zip
gcc-f580c1f44c47b7b06d2a87ba4dfb3384082cc881.tar.gz
gcc-f580c1f44c47b7b06d2a87ba4dfb3384082cc881.tar.bz2
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/resolve')
0 files changed, 0 insertions, 0 deletions