aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-tree.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-10-21 13:53:14 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-12-13 14:00:06 +0100
commitc6c3db21769e8455f38e0d6ce004c44521aad7bd (patch)
treefc41d0fe02aec8ad82d3ce6b62c3962e77d93972 /gcc/rust/backend/rust-tree.h
parent9ce37e720624accb7977ead5d0f25ac2b459c2aa (diff)
downloadgcc-c6c3db21769e8455f38e0d6ce004c44521aad7bd.zip
gcc-c6c3db21769e8455f38e0d6ce004c44521aad7bd.tar.gz
gcc-c6c3db21769e8455f38e0d6ce004c44521aad7bd.tar.bz2
gccrs: Add type resolution and trait solving pass
This serves to handle parts of the Rust type-system. Namely, the type resolution (similar to type-checking) and the trait solving algorithms (which ensure Rust's type contracts are upheld throughout the codebase). gcc/rust/ * typecheck/rust-hir-trait-resolve.cc: New. * typecheck/rust-hir-trait-resolve.h: New. * typecheck/rust-hir-type-check-base.cc: New. * typecheck/rust-hir-type-check-base.h: New. * typecheck/rust-hir-type-check-enumitem.cc: New. * typecheck/rust-hir-type-check-enumitem.h: New. * typecheck/rust-hir-type-check-expr.cc: New. * typecheck/rust-hir-type-check-expr.h: New. * typecheck/rust-hir-type-check-implitem.cc: New. * typecheck/rust-hir-type-check-implitem.h: New. * typecheck/rust-hir-type-check-item.cc: New. * typecheck/rust-hir-type-check-item.h: New. * typecheck/rust-hir-type-check-path.cc: New. * typecheck/rust-hir-type-check-pattern.cc: New. * typecheck/rust-hir-type-check-pattern.h: New. * typecheck/rust-hir-type-check-stmt.cc: New. * typecheck/rust-hir-type-check-stmt.h: New. * typecheck/rust-hir-type-check-struct-field.h: New. * typecheck/rust-hir-type-check-struct.cc: New. * typecheck/rust-hir-type-check-toplevel.cc: New. * typecheck/rust-hir-type-check-toplevel.h: New. * typecheck/rust-hir-type-check-type.cc: New. * typecheck/rust-hir-type-check-type.h: New. * typecheck/rust-hir-type-check-util.cc: New. * typecheck/rust-hir-type-check-util.h: New. * typecheck/rust-hir-type-check.cc: New. * typecheck/rust-hir-type-check.h: New. * typecheck/rust-tyty-visitor.h: New.
Diffstat (limited to 'gcc/rust/backend/rust-tree.h')
0 files changed, 0 insertions, 0 deletions