]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ctx: Add Labels ForeverStack to the resolver.
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 17 Aug 2023 12:07:27 +0000 (14:07 +0200)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 22 Nov 2023 13:29:41 +0000 (13:29 +0000)
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