diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-23 16:17:51 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:56:04 +0100 |
commit | 79df2b3cafa586e2c3ba357e1448be3ad789d24e (patch) | |
tree | 3ebefacba577720f44a2059cd8d078f8d4635bd7 /gcc/testsuite/rust/compile | |
parent | 47576fa5a866ad0d7ff0112e7d4a9f3dd764f7cc (diff) | |
download | gcc-79df2b3cafa586e2c3ba357e1448be3ad789d24e.zip gcc-79df2b3cafa586e2c3ba357e1448be3ad789d24e.tar.gz gcc-79df2b3cafa586e2c3ba357e1448be3ad789d24e.tar.bz2 |
gccrs: name resolution 2.0: Add base for our context data structure
This commit adds a first simple `NameResolutionContext` data structure, which will
be used by all passes of the name resolution to store definitions and access
them. Namely, it contains a few instances of `ForeverStack`, for each
namespace we will be using.
gcc/rust/ChangeLog:
* Make-lang.in: Add new object file.
* resolve/rust-name-resolution-context.cc: New file.
* resolve/rust-name-resolution-context.h: New file.
Diffstat (limited to 'gcc/testsuite/rust/compile')
0 files changed, 0 insertions, 0 deletions