diff options
author | Yizhe <yizhe@pku.edu.cn> | 2021-02-16 07:42:32 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2021-02-19 10:34:59 +0000 |
commit | 68a2f3d7eaa60516a40037dadb6761e69b7863f7 (patch) | |
tree | 2bcc568d87448ada6d31da37366044f0eb6ec439 /gcc/rust/backend/rust-compile-item.h | |
parent | 642cc5ed4ffcf0a334cec450e536e5b948819271 (diff) | |
download | gcc-68a2f3d7eaa60516a40037dadb6761e69b7863f7.zip gcc-68a2f3d7eaa60516a40037dadb6761e69b7863f7.tar.gz gcc-68a2f3d7eaa60516a40037dadb6761e69b7863f7.tar.bz2 |
Renamed `TyBase` to `BaseType`
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-item.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/rust/backend/rust-compile-item.h b/gcc/rust/backend/rust-compile-item.h index 7f93af9f..cfbe969 100644 --- a/gcc/rust/backend/rust-compile-item.h +++ b/gcc/rust/backend/rust-compile-item.h @@ -41,7 +41,7 @@ public: void visit (HIR::TupleStruct &struct_decl) { - TyTy::TyBase *resolved = nullptr; + TyTy::BaseType *resolved = nullptr; if (!ctx->get_tyctx ()->lookup_type ( struct_decl.get_mappings ().get_hirid (), &resolved)) { @@ -55,7 +55,7 @@ public: void visit (HIR::StructStruct &struct_decl) { - TyTy::TyBase *resolved = nullptr; + TyTy::BaseType *resolved = nullptr; if (!ctx->get_tyctx ()->lookup_type ( struct_decl.get_mappings ().get_hirid (), &resolved)) { @@ -69,7 +69,7 @@ public: void visit (HIR::StaticItem &var) { - TyTy::TyBase *resolved_type = nullptr; + TyTy::BaseType *resolved_type = nullptr; bool ok = ctx->get_tyctx ()->lookup_type (var.get_mappings ().get_hirid (), &resolved_type); rust_assert (ok); @@ -97,7 +97,7 @@ public: void visit (HIR::ConstantItem &constant) { - TyTy::TyBase *resolved_type = nullptr; + TyTy::BaseType *resolved_type = nullptr; bool ok = ctx->get_tyctx ()->lookup_type (constant.get_mappings ().get_hirid (), &resolved_type); @@ -129,7 +129,7 @@ public: return; } - TyTy::TyBase *fntype_tyty; + TyTy::BaseType *fntype_tyty; if (!ctx->get_tyctx ()->lookup_type (function.get_mappings ().get_hirid (), &fntype_tyty)) { @@ -169,7 +169,7 @@ public: // setup the params - TyTy::TyBase *tyret = fntype->return_type (); + TyTy::BaseType *tyret = fntype->return_type (); std::vector<Bvariable *> param_vars; size_t i = 0; @@ -282,7 +282,7 @@ public: void visit (HIR::InherentImpl &impl_block) { - TyTy::TyBase *self_lookup = nullptr; + TyTy::BaseType *self_lookup = nullptr; if (!ctx->get_tyctx ()->lookup_type ( impl_block.get_type ()->get_mappings ().get_hirid (), &self_lookup)) { |