aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-06-23 16:16:34 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-07-19 09:52:38 +0000
commit011c867c0a94e108e9da8bc5a2369219f91c1b52 (patch)
tree63cdce2a1fac24c483f20c18f6033d810f46d564 /gcc/combine.cc
parent235dbf0b572a51ed19cc313ed19e696b5eb51566 (diff)
downloadgcc-011c867c0a94e108e9da8bc5a2369219f91c1b52.zip
gcc-011c867c0a94e108e9da8bc5a2369219f91c1b52.tar.gz
gcc-011c867c0a94e108e9da8bc5a2369219f91c1b52.tar.bz2
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/combine.cc')
0 files changed, 0 insertions, 0 deletions