public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8557] gccrs: ctx: Add Labels ForeverStack to the resolver.
@ 2024-01-30 11:59 Arthur Cohen
  0 siblings, 0 replies; only message in thread
From: Arthur Cohen @ 2024-01-30 11:59 UTC (permalink / raw)
  To: gcc-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-30 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-30 11:59 [gcc r14-8557] gccrs: ctx: Add Labels ForeverStack to the resolver Arthur Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).