diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-03-20 18:35:16 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-03-23 13:27:28 -0400 |
| commit | a29ae3052aa9c84cecab226b9a1f1fee4e5b78d4 (patch) | |
| tree | 9ac6761d75e9d4f7f1454cd4605c6eff6fca4322 /src/rustllvm/RustWrapper.cpp | |
| parent | 8e6b10a6cb349deab30fa0fb507a8c73cae6ec68 (diff) | |
| download | rust-a29ae3052aa9c84cecab226b9a1f1fee4e5b78d4.tar.gz rust-a29ae3052aa9c84cecab226b9a1f1fee4e5b78d4.zip | |
convert inherent-impl-related things to on-demand queries
There are now 3 queries: - inherent_impls(def-id): for a given type, get a `Rc<Vec<DefId>>` with all its inherent impls. This internally uses `crate_inherent_impls`, doing some hacks to keep the current deps (which, btw, are not clearly correct). - crate_inherent_impls(crate): gathers up a map from types to `Rc<Vec<DefId>>`, touching the entire krate, possibly generating errors. - crate_inherent_impls_overlap_check(crate): performs overlap checks between the inherent impls for a given type, generating errors.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
