about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAzhng <archer.xn@gmail.com>2020-06-24 16:33:31 -0400
committerAzhng <archer.xn@gmail.com>2020-06-29 16:46:52 -0400
commit7d7221c250404ed468d893a642da961ef824a76b (patch)
tree0e65f0075c9f6cff28aa19ead8dc73a3b5e7326a /src/rustllvm/CoverageMappingWrapper.cpp
parent6bb3dbfc6c6d8992d08431f320ba296a0c2f7498 (diff)
downloadrust-7d7221c250404ed468d893a642da961ef824a76b.tar.gz
rust-7d7221c250404ed468d893a642da961ef824a76b.zip
typeck: adding type information to projection
This commit modifies the Place as follow:
* remove 'ty' from ProjectionKind
* add type information into to Projection
* replace 'ty' in Place with 'base_ty'
* introduce 'ty()' in `Place` to return the final type of the `Place`
* introduce `ty_before_projection()` in `Place` to return the type of
  a `Place` before i'th projection is applied

Closes https://github.com/rust-lang/project-rfc-2229/issues/5
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions