[gcc r14-8557] gccrs: ctx: Add Labels ForeverStack to the resolver.
Arthur Cohen
cohenarthur@gcc.gnu.org
Tue Jan 30 11:59:36 GMT 2024
https://gcc.gnu.org/g:d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923
commit r14-8557-gd9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date: Thu Aug 17 14:07:27 2023 +0200
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.
Diff:
---
gcc/rust/resolve/rust-name-resolution-context.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/rust/resolve/rust-name-resolution-context.h b/gcc/rust/resolve/rust-name-resolution-context.h
index 64db5d1a5806..6d14be35986a 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
More information about the Gcc-cvs
mailing list