aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-06-23 16:15:29 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:55:56 +0100
commit8288dc0fedc2fd227b9cd31c5e36ee39839689ee (patch)
treeff32125ca1c576a2ced52a21ad7e8607ff4e53c5 /gcc/rust/Make-lang.in
parentdf1da36415bb15919551f1b813443057263fc187 (diff)
downloadgcc-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.in1
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 \