diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-08-17 14:07:27 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-30 12:36:45 +0100 |
commit | d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923 (patch) | |
tree | 767a8e282ccb16f49766235a561bd3127ec3cb50 /gcc | |
parent | d5c582396c66e9e0499ecee67129f1ff1dd55889 (diff) | |
download | gcc-d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923.zip gcc-d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923.tar.gz gcc-d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923.tar.bz2 |
gccrs: ctx: Add Labels ForeverStack to the resolver.
Not sure if dealing with "labels" is the proper way of doing so, so we
might eventually change this to use `resolver.values` later on.
gcc/rust/ChangeLog:
* resolve/rust-name-resolution-context.h: Add a Labels stack.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/resolve/rust-name-resolution-context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/resolve/rust-name-resolution-context.h b/gcc/rust/resolve/rust-name-resolution-context.h index 64db5d1..6d14be3 100644 --- a/gcc/rust/resolve/rust-name-resolution-context.h +++ b/gcc/rust/resolve/rust-name-resolution-context.h @@ -173,6 +173,7 @@ public: ForeverStack<Namespace::Values> values; ForeverStack<Namespace::Types> types; ForeverStack<Namespace::Macros> macros; + ForeverStack<Namespace::Labels> labels; }; } // namespace Resolver2_0 |