diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-09-05 16:13:30 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-26 22:48:32 +0000 |
commit | deb94244cb1f568e0416414e5eebf7848745ce90 (patch) | |
tree | 10c0dfbb30747aa41e7df4bf63c9c4f29fe6c13d /gcc | |
parent | fef6b34334f8e51ac96831c44de3d5a2a54fe26b (diff) | |
download | gcc-deb94244cb1f568e0416414e5eebf7848745ce90.zip gcc-deb94244cb1f568e0416414e5eebf7848745ce90.tar.gz gcc-deb94244cb1f568e0416414e5eebf7848745ce90.tar.bz2 |
Make AST default visitor visit functions public
Make those functions public so they can be used within a lambda on GCC
4.8.
gcc/rust/ChangeLog:
* ast/rust-ast-visitor.h: Make visit functions public.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/ast/rust-ast-visitor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-ast-visitor.h b/gcc/rust/ast/rust-ast-visitor.h index 80214fa..7d41898 100644 --- a/gcc/rust/ast/rust-ast-visitor.h +++ b/gcc/rust/ast/rust-ast-visitor.h @@ -244,7 +244,6 @@ class DefaultASTVisitor : public ASTVisitor public: virtual void visit (AST::Crate &crate); -protected: virtual void visit (AST::Token &tok) override; virtual void visit (AST::DelimTokenTree &delim_tok_tree) override; virtual void visit (AST::AttrInputMetaItemContainer &input) override; |