diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-25 16:56:09 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-11-06 17:13:22 +0000 |
commit | 4068593c22cbc5c319ccdb4596eeb512aa0b820a (patch) | |
tree | 889ce197efc0380e431f1bc34466da193c84f179 /gcc/rust/resolve | |
parent | ebe2f98aa53ef5ac7c0097f8fd87c9a713b50e07 (diff) | |
download | gcc-4068593c22cbc5c319ccdb4596eeb512aa0b820a.zip gcc-4068593c22cbc5c319ccdb4596eeb512aa0b820a.tar.gz gcc-4068593c22cbc5c319ccdb4596eeb512aa0b820a.tar.bz2 |
Add a default AST visitor
This will allow us to derive other visitors from it and overload only a
few selected visit methods.
gcc/rust/ChangeLog:
* Make-lang.in: Add the new visitor object file.
* ast/rust-ast-visitor.h (class DefaultASTVisitor): Create the default
visitor class.
* ast/rust-ast.h: Add a new reference getter for visitor pattern.
* ast/rust-ast-visitor.cc: New file.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions