diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-26 13:26:13 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-11-06 17:13:22 +0000 |
commit | 95325d7864b950cb8cd1d85b364e07011489da0e (patch) | |
tree | 7d9ef283aa6e859a821eeee59a16b310cf5c4fb8 /gcc/rust/resolve | |
parent | 4068593c22cbc5c319ccdb4596eeb512aa0b820a (diff) | |
download | gcc-95325d7864b950cb8cd1d85b364e07011489da0e.zip gcc-95325d7864b950cb8cd1d85b364e07011489da0e.tar.gz gcc-95325d7864b950cb8cd1d85b364e07011489da0e.tar.bz2 |
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/resolve')
0 files changed, 0 insertions, 0 deletions