aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-07-29 14:29:51 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-08-04 15:48:36 +0100
commitffb419d6a46302126944066ef46bd0c9f590ee30 (patch)
tree7e6e1bbe1074e8dd8288e5312f8608ba487b40e1 /gcc/rust/backend/rust-compile-resolve-path.cc
parentc788a806195f326a595cd15b96c59e7584927f1a (diff)
downloadgcc-ffb419d6a46302126944066ef46bd0c9f590ee30.zip
gcc-ffb419d6a46302126944066ef46bd0c9f590ee30.tar.gz
gcc-ffb419d6a46302126944066ef46bd0c9f590ee30.tar.bz2
Refactor the autoderef cycle to be a reuseable base class
The autoderef cycle is used to coerce/select apropriate methods during method resolution. This same cycle of autoderef is also used as coercion sites. In order to avoid duplicating the logic this extracts out a useful base class that can be implemented to support this elsewhere.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions