diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-19 10:59:18 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-02-21 12:36:39 +0100 |
commit | 4d021d9e019dd2a7b5442653a20e126f37fd8f39 (patch) | |
tree | 20712a4b87e65c15e98505097c4ff247aeaaaf5f /gcc/rust/hir/tree/rust-hir-expr.h | |
parent | 977e0e5227d467fcda43edfae72c5251c283d871 (diff) | |
download | gcc-4d021d9e019dd2a7b5442653a20e126f37fd8f39.zip gcc-4d021d9e019dd2a7b5442653a20e126f37fd8f39.tar.gz gcc-4d021d9e019dd2a7b5442653a20e126f37fd8f39.tar.bz2 |
gccrs: Refactor method call type checking
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Simplify method
call type checking by removing visitor and instead using one static cast. Use the
new interface.
* typecheck/rust-tyty-call.cc (TypeCheckMethodCallExpr::visit): Likewise.
(TypeCheckMethodCallExpr::go): Likewise.
(TypeCheckMethodCallExpr::check): Likewise.
* typecheck/rust-tyty-call.h (class TypeCheckMethodCallExpr): Likewise.
(class Argument): Likewise.
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions