]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: nr2.0: Add basic Rib class
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 23 Jun 2023 14:15:29 +0000 (16:15 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:55:56 +0000 (18:55 +0100)
commit8288dc0fedc2fd227b9cd31c5e36ee39839689ee
treeff32125ca1c576a2ced52a21ad7e8607ff4e53c5
parentdf1da36415bb15919551f1b813443057263fc187
gccrs: nr2.0: Add basic Rib class

This class adds a basic Rib class for the new name resolution algorithm.
It uses `optional` and `expected` return types in order to try and
improve error handling in these new passes.

gcc/rust/ChangeLog:

* Make-lang.in: Add `rust-rib.cc` object.
* resolve/rust-rib.cc: New file.
* resolve/rust-rib.h: New file.

Co-authored-by: Matthew Jasper <mjjasper1@gmail.com>
gcc/rust/Make-lang.in
gcc/rust/resolve/rust-rib.cc [new file with mode: 0644]
gcc/rust/resolve/rust-rib.h [new file with mode: 0644]