aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-08-23 16:44:42 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2022-12-13 14:00:07 +0100
commitea34614225d4d255e58f63206eb12178b870cb4c (patch)
treef636c093e1f14f58363f02e7c8ac749ec0158ce8 /gcc/rust/backend/rust-compile-struct-field-expr.cc
parentbba14a0790f0858f76118bbb9b3a8231eb241138 (diff)
downloadgcc-ea34614225d4d255e58f63206eb12178b870cb4c.zip
gcc-ea34614225d4d255e58f63206eb12178b870cb4c.tar.gz
gcc-ea34614225d4d255e58f63206eb12178b870cb4c.tar.bz2
gccrs: Compiler proper interface kicks off the pipeline
This is a wrapper to get out of C land in the rust-lang.cc and into our class hierarchy for the rust front-end. We expect that the front-end only support one source file input as the expansion pass will attempt to resolve that relative pass and parse accordingly. The main missing piece here is that we are using saw_errors() to return early which is unnecessary but as our error handling has been improving over time we will start to take advantage of error node in our type system as well as error_mark_node from GCC. The caveat being that our lints/checks expect no errors and will throw an assertion. gcc/rust/ * rust-lang.cc: New. * rust-session-manager.cc: New. * rust-session-manager.h: New.
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.cc')
0 files changed, 0 insertions, 0 deletions