aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup importsAleksey Kladov2019-11-231-10/+10
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-2/+2
|
* Move docs to hir_defAleksey Kladov2019-11-231-0/+6
|
* Move lang_items to hir_defAleksey Kladov2019-11-231-3/+13
|
* Move attrs query to hir_defAleksey Kladov2019-11-231-1/+5
|
* Move const&static date to hir_defAleksey Kladov2019-11-221-3/+9
|
* Move data to a single fileAleksey Kladov2019-11-221-4/+1
|
* Move FunctionData to hir_defAleksey Kladov2019-11-221-1/+6
|
* Move TypeAlias to hir_defAleksey Kladov2019-11-221-1/+5
|
* Move generic_params query to HIRAleksey Kladov2019-11-201-1/+5
|
* Move constants to new IDAleksey Kladov2019-11-201-6/+3
| | | | This allows us to get rid of trait item index
* Switch type aliases to new sourcesAleksey Kladov2019-11-201-3/+3
|
* Next gen IDs for functionsAleksey Kladov2019-11-201-2/+2
| | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def
* Move traits to hir_defAleksey Kladov2019-11-201-2/+9
|
* Remove old impls infrastructureAleksey Kladov2019-11-151-1/+5
|
* Add ImplIdAleksey Kladov2019-11-151-9/+10
|
* Move body queries to hir_defAleksey Kladov2019-11-141-1/+11
|
* Unfork struct and union idsAleksey Kladov2019-11-091-8/+4
|
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-3/+12
|
* move struct & enum data to hir_defAleksey Kladov2019-10-311-1/+11
|
* move raw_items to hir_defAleksey Kladov2019-10-301-0/+18
|
* Move ids to hir_def crateAleksey Kladov2019-10-301-0/+22