diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-06-16 05:00:29 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-06-17 09:43:07 +0200 |
commit | d9fb7d06ca79e8c0f784da02696b436bc50e2f49 (patch) | |
tree | 3c8718dcfcaa8c714a2f72e242ab3988a328fcaa /gcc/rust/resolve/rust-ast-resolve-base.cc | |
parent | 848a1a28b91d105ff4f21cc9993befbcecb3e39d (diff) | |
download | gcc-d9fb7d06ca79e8c0f784da02696b436bc50e2f49.zip gcc-d9fb7d06ca79e8c0f784da02696b436bc50e2f49.tar.gz gcc-d9fb7d06ca79e8c0f784da02696b436bc50e2f49.tar.bz2 |
ast: Add ConstGenericParam class
This also implements all the necessary boilerplate to allow visitors to
work properly. For now, no operation is performed on const generic
params - similarly to lifetimes
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-base.cc')
-rw-r--r-- | gcc/rust/resolve/rust-ast-resolve-base.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-base.cc b/gcc/rust/resolve/rust-ast-resolve-base.cc index 2a86618..cdc1a66 100644 --- a/gcc/rust/resolve/rust-ast-resolve-base.cc +++ b/gcc/rust/resolve/rust-ast-resolve-base.cc @@ -67,6 +67,10 @@ ResolverBase::visit (AST::LifetimeParam &) {} void +ResolverBase::visit (AST::ConstGenericParam &) +{} + +void ResolverBase::visit (AST::PathInExpression &) {} |