diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-01-12 18:00:52 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-04-06 10:47:20 +0200 |
commit | 688fccb5227d78240735433b51fa27642f81415a (patch) | |
tree | fb21d70ec069de6aa632af2589adbe8cd3e7974f /gcc/rust/resolve | |
parent | c1b1bbbc64524b508c0150c66163b27be508dbcf (diff) | |
download | gcc-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