diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-23 16:17:51 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-08-01 15:37:57 +0000 |
commit | 7515e1f72c832cf7c527f621465b69307afaf1d0 (patch) | |
tree | b0ce0f4bab34563729b3c39d74c26c70d958795b /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | d20a2c270be1b90e8358b3ed0618114594bec14c (diff) | |
download | gcc-7515e1f72c832cf7c527f621465b69307afaf1d0.zip gcc-7515e1f72c832cf7c527f621465b69307afaf1d0.tar.gz gcc-7515e1f72c832cf7c527f621465b69307afaf1d0.tar.bz2 |
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/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions