Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Track source of type parameters | Aleksey Kladov | 2019-12-07 | 1 | -21/+72 |
| | |||||
* | Minor | Aleksey Kladov | 2019-12-07 | 1 | -3/+4 |
| | |||||
* | Remove idx and parent generics from generics | Aleksey Kladov | 2019-12-07 | 1 | -71/+19 |
| | | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead. | ||||
* | Store GenericParams in arena | Aleksey Kladov | 2019-12-07 | 1 | -12/+13 |
| | |||||
* | Move source-related traits to a separate module | Aleksey Kladov | 2019-11-28 | 1 | -1/+2 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -4/+2 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -4/+4 |
| | |||||
* | Simplify generic params | Aleksey Kladov | 2019-11-20 | 1 | -2/+1 |
| | |||||
* | Move generic_params query to HIR | Aleksey Kladov | 2019-11-20 | 1 | -3/+26 |
| | |||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -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 Generics to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -0/+163 |