diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-23 16:15:29 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:56 +0100 |
commit | 8288dc0fedc2fd227b9cd31c5e36ee39839689ee (patch) | |
tree | ff32125ca1c576a2ced52a21ad7e8607ff4e53c5 /gcc/rust/Make-lang.in | |
parent | df1da36415bb15919551f1b813443057263fc187 (diff) | |
download | gcc-8288dc0fedc2fd227b9cd31c5e36ee39839689ee.zip gcc-8288dc0fedc2fd227b9cd31c5e36ee39839689ee.tar.gz gcc-8288dc0fedc2fd227b9cd31c5e36ee39839689ee.tar.bz2 |
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>
Diffstat (limited to 'gcc/rust/Make-lang.in')
-rw-r--r-- | gcc/rust/Make-lang.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 641d579..c307e33 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -109,6 +109,7 @@ GRS_OBJS = \ rust/rust-ast-lower-expr.o \ rust/rust-ast-lower-type.o \ rust/rust-ast-lower-stmt.o \ + rust/rust-rib.o \ rust/rust-early-name-resolver.o \ rust/rust-name-resolver.o \ rust/rust-ast-resolve.o \ |