aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-01-12 18:00:52 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2023-04-06 10:47:20 +0200
commit688fccb5227d78240735433b51fa27642f81415a (patch)
treefb21d70ec069de6aa632af2589adbe8cd3e7974f /gcc/rust/resolve
parentc1b1bbbc64524b508c0150c66163b27be508dbcf (diff)
downloadgcc-688fccb5227d78240735433b51fa27642f81415a.zip
gcc-688fccb5227d78240735433b51fa27642f81415a.tar.gz
gcc-688fccb5227d78240735433b51fa27642f81415a.tar.bz2
gccrs: Refactor TyVar and TypeBoundPredicates
This extract these helpers into seperate files Signed-off-by: Philip Herron <herron.philip@googlemail.com> gcc/rust/ChangeLog: * Make-lang.in: update makefile * typecheck/rust-tyty.cc (TyVar::TyVar): move to new file (TyVar::get_tyty): likewise (TyVar::get_implicit_infer_var): likewise (TyVar::subst_covariant_var): likewise (TyVar::clone): likewise (TyVar::monomorphized_clone): likewise (TyWithLocation::TyWithLocation): likewise * typecheck/rust-tyty.h (class BaseType): cleanup (class TypeBoundPredicate): move to its own file (class TypeBoundPredicateItem): likewise (class TypeBoundsMappings): likewise (class TyVar): likewise (class TyWithLocation): likewise * typecheck/rust-tyty-bounds.h: New file. * typecheck/rust-tyty-util.cc: New file. * typecheck/rust-tyty-util.h: New file.
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions