diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-19 10:59:18 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-10-20 16:03:33 +0100 |
commit | 662a7a90305f3c5df24765ec6de6c4e56187ae1a (patch) | |
tree | 917b38da9e35857bd58f4fc3445b65c438f4e881 /gcc/rust/backend/rust-tree.h | |
parent | 8c4cf085d9afeada0e6c79c29904ee597c51bd25 (diff) | |
download | gcc-662a7a90305f3c5df24765ec6de6c4e56187ae1a.zip gcc-662a7a90305f3c5df24765ec6de6c4e56187ae1a.tar.gz gcc-662a7a90305f3c5df24765ec6de6c4e56187ae1a.tar.bz2 |
Refactor method call type checking
We used a visitor interface to handle type checking argument passing on
method call expressions. This was completely unnessecary as all method
calls should _always_ be to TyTy::FnType's. The benifit here is that we
need to reuse this interface to handle method resolution type checking
for FnTrait calls as closure calls dont have an HIR::MethodExpr so we
need a more abstract interface so that we can specify the types directly
with relevant location info.
Diffstat (limited to 'gcc/rust/backend/rust-tree.h')
0 files changed, 0 insertions, 0 deletions