aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2025-04-19 14:14:25 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2025-04-24 16:53:44 +0000
commitee61e8917f0057e271177c5ad2e5a4a7c3ccdbaa (patch)
treeab1f4745f70f56aaad3fc293870f74a4676ac8fb /gcc/gimple-array-bounds.h
parent38b913483fed6fe36fd5b692948ec9cf7ac2415c (diff)
downloadgcc-ee61e8917f0057e271177c5ad2e5a4a7c3ccdbaa.zip
gcc-ee61e8917f0057e271177c5ad2e5a4a7c3ccdbaa.tar.gz
gcc-ee61e8917f0057e271177c5ad2e5a4a7c3ccdbaa.tar.bz2
Use specialized param visit function for params
This commit introduce a new public function to visit function parameters in the default visitor. It allows visitors derived from DefaultVisitor to override only a small part of the default visitor. gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (DefaultASTVisitor::visit_function_params): Add specialized function to visit function parameters. (DefaultASTVisitor::visit): Remove parameter visit and call specialized function instead. * ast/rust-ast-visitor.h: Add function prototye. * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Remove function. (Late::visit_function_params): Override specialized visit function. * resolve/rust-late-name-resolver-2.0.h: Add overriden function prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/gimple-array-bounds.h')
0 files changed, 0 insertions, 0 deletions