diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-23 16:16:34 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:56 +0100 |
commit | 2327631e4ba359fb43a6a46bf2771ac5ea441d8c (patch) | |
tree | 693afc96306a7eaf2f0cead31aee89636a225443 /gcc/rust/rust-session-manager.cc | |
parent | bcd76dbcaabe6752657befcd8f4fec4d53126fd2 (diff) | |
download | gcc-2327631e4ba359fb43a6a46bf2771ac5ea441d8c.zip gcc-2327631e4ba359fb43a6a46bf2771ac5ea441d8c.tar.gz gcc-2327631e4ba359fb43a6a46bf2771ac5ea441d8c.tar.bz2 |
gccrs: nr2.0: Add `ForeverStack` data structure.
This data structure replaces our existing scopes and allows for multiple
name resolution passes to insert definitions or look up names at different
stages of the pipeline. The documentation goes into detail about how the
data structure works, and how the source's hierarchy is preserved
throughout the pipeline.
The class is templated to enforce specific behavior based on the namespace
the scope map targets.
gcc/rust/ChangeLog:
* resolve/rust-forever-stack.h: New file.
* resolve/rust-forever-stack.hxx: New file.
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
0 files changed, 0 insertions, 0 deletions