aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-26 13:30:28 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-11-06 17:13:22 +0000
commit068753493f96fe8e27d4df165075f5a3ecbb2fe1 (patch)
tree1d5a5c3a97eeeffa5bc38ef594a3b8833ee4c8af /gcc/rust/resolve
parent95325d7864b950cb8cd1d85b364e07011489da0e (diff)
downloadgcc-068753493f96fe8e27d4df165075f5a3ecbb2fe1.zip
gcc-068753493f96fe8e27d4df165075f5a3ecbb2fe1.tar.gz
gcc-068753493f96fe8e27d4df165075f5a3ecbb2fe1.tar.bz2
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/resolve')
0 files changed, 0 insertions, 0 deletions