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-expr.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-expr.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-expr.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.h b/gcc/rust/backend/rust-compile-expr.h index 842804d..00625df 100644 --- a/gcc/rust/backend/rust-compile-expr.h +++ b/gcc/rust/backend/rust-compile-expr.h @@ -57,7 +57,7 @@ public: return; } - TyTy::TyBase *tyty = nullptr; + TyTy::BaseType *tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &tyty)) { @@ -177,7 +177,7 @@ public: return; } - TyTy::TyBase *tyty = nullptr; + TyTy::BaseType *tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type ( expr.get_mappings ().get_hirid (), &tyty)) { @@ -203,7 +203,7 @@ public: return; } - TyTy::TyBase *tyty = nullptr; + TyTy::BaseType *tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type ( expr.get_mappings ().get_hirid (), &tyty)) { @@ -256,7 +256,7 @@ public: void visit (HIR::ArrayExpr &expr) { - TyTy::TyBase *tyty = nullptr; + TyTy::BaseType *tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &tyty)) { @@ -428,7 +428,7 @@ public: void visit (HIR::IfExprConseqElse &expr) { - TyTy::TyBase *if_type = nullptr; + TyTy::BaseType *if_type = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &if_type)) { @@ -465,7 +465,7 @@ public: void visit (HIR::IfExprConseqIf &expr) { - TyTy::TyBase *if_type = nullptr; + TyTy::BaseType *if_type = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &if_type)) { @@ -502,7 +502,7 @@ public: void visit (HIR::BlockExpr &expr) { - TyTy::TyBase *block_tyty = nullptr; + TyTy::BaseType *block_tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &block_tyty)) { @@ -564,7 +564,7 @@ public: void visit (HIR::FieldAccessExpr &expr) { // resolve the receiver back to ADT type - TyTy::TyBase *receiver = nullptr; + TyTy::BaseType *receiver = nullptr; if (!ctx->get_tyctx ()->lookup_type ( expr.get_receiver_expr ()->get_mappings ().get_hirid (), &receiver)) { @@ -593,7 +593,7 @@ public: void visit (HIR::LoopExpr &expr) { - TyTy::TyBase *block_tyty = nullptr; + TyTy::BaseType *block_tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &block_tyty)) { @@ -830,7 +830,7 @@ public: Bexpression *main_expr = CompileExpr::Compile (expr.get_expr ().get (), ctx); - TyTy::TyBase *tyty = nullptr; + TyTy::BaseType *tyty = nullptr; if (!ctx->get_tyctx ()->lookup_type (expr.get_mappings ().get_hirid (), &tyty)) { |