]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: ctx: Add Labels ForeverStack to the resolver.
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 17 Aug 2023 12:07:27 +0000 (14:07 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:45 +0000 (12:36 +0100)
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.

gcc/rust/resolve/rust-name-resolution-context.h

index 64db5d1a580623abd87773181781b26d75eeb453..6d14be35986ae2e4c3cbcd1defd844bebfc05140 100644 (file)
@@ -173,6 +173,7 @@ public:
   ForeverStack<Namespace::Values> values;
   ForeverStack<Namespace::Types> types;
   ForeverStack<Namespace::Macros> macros;
+  ForeverStack<Namespace::Labels> labels;
 };
 
 } // namespace Resolver2_0