diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-26 13:30:28 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:13:11 +0100 |
commit | 222f27d3ac159f1c56b670f336fb515e84491df4 (patch) | |
tree | ad9ba66147028eb829fd229c446b02bbc45404a4 /gcc/rust/Make-lang.in | |
parent | ddcd4c96757d1f9a962b24eca61cac3f8068a155 (diff) | |
download | gcc-222f27d3ac159f1c56b670f336fb515e84491df4.zip gcc-222f27d3ac159f1c56b670f336fb515e84491df4.tar.gz gcc-222f27d3ac159f1c56b670f336fb515e84491df4.tar.bz2 |
gccrs: Make use of the Contextual visitor in validation
Use the new contextual ast visitor to reduce the amount of code in the
ast validation visitor.
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValidation::visit): Adapt
the call to the new visit functions.
(ASTValidation::check): Launch the parent class visitor root function.
* checks/errors/rust-ast-validation.h (class ASTValidation): Inherit
from the contextual visitor.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions