From: Arthur Cohen Date: Thu, 17 Aug 2023 12:07:27 +0000 (+0200) Subject: gccrs: ctx: Add Labels ForeverStack to the resolver. X-Git-Tag: basepoints/gcc-15~1582 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923;p=thirdparty%2Fgcc.git 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 --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 values; ForeverStack types; ForeverStack macros; + ForeverStack labels; }; } // namespace Resolver2_0