aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-cfg-parser.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-02-23 19:00:07 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-02-24 14:59:12 +0000
commit0d4a4475e9fbd972bdbcf8e0bcf6f3be3db2f00f (patch)
tree3404ee8f9b787f2a4b9c743b5039c8bc6c2f6155 /gcc/rust/parse/rust-cfg-parser.h
parent9a0f9fb8ba2140fb365b9c771c733401de929ff2 (diff)
downloadgcc-0d4a4475e9fbd972bdbcf8e0bcf6f3be3db2f00f.zip
gcc-0d4a4475e9fbd972bdbcf8e0bcf6f3be3db2f00f.tar.gz
gcc-0d4a4475e9fbd972bdbcf8e0bcf6f3be3db2f00f.tar.bz2
typecheck: Refactor cast_site
Refactor cast_site to be a simple function in rust-type-util.h. gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-base.cc (TypeCheckBase::cast_site): Remove cast_site. * typecheck/rust-hir-type-check-base.h: Remove cast_site prototype. * typecheck/rust-type-util.cc (cast_site): Add cast_site. * typecheck/rust-type-util.h (cast_site): Add cast_site prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-cfg-parser.h')
0 files changed, 0 insertions, 0 deletions