aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-26 13:26:13 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:13:11 +0100
commitddcd4c96757d1f9a962b24eca61cac3f8068a155 (patch)
tree752fa8f06a83e11ed791df0024d3bfe407842f09 /gcc/rust/Make-lang.in
parent5a9c2732d5d9bff9710466e039105cf29e35405d (diff)
downloadgcc-ddcd4c96757d1f9a962b24eca61cac3f8068a155.zip
gcc-ddcd4c96757d1f9a962b24eca61cac3f8068a155.tar.gz
gcc-ddcd4c96757d1f9a962b24eca61cac3f8068a155.tar.bz2
gccrs: Add a new visitor that gathers context information
This visitor is intended to be used by other visitors that require context at some point for a given item. gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (ContextualASTVisitor::visit): Add multiple context saving calls. * ast/rust-ast-visitor.h (class DefaultASTVisitor): Make visit functions virtual. (class ContextualASTVisitor): Add a stack like container for the current context chain. 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