diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-01-12 18:00:52 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2023-02-05 00:06:43 +0000 |
commit | 1fbf184bb9221f91a8c921ab868d8e1e5d2b56c3 (patch) | |
tree | e9099119e944a2ec4143539cea671bd870bc217b /gcc/function-tests.cc | |
parent | 8e9f9807f35aeb63a21fc49c0fa55a76a6d3107e (diff) | |
download | gcc-1fbf184bb9221f91a8c921ab868d8e1e5d2b56c3.zip gcc-1fbf184bb9221f91a8c921ab868d8e1e5d2b56c3.tar.gz gcc-1fbf184bb9221f91a8c921ab868d8e1e5d2b56c3.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/function-tests.cc')
0 files changed, 0 insertions, 0 deletions