Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -1/+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 | ||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 3 | -27/+27 |
| | |||||
* | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -2/+2 |
| | |||||
* | HirDatabase stored attributes | Martin Asquino | 2019-11-04 | 1 | -0/+92 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -2/+2 |
| | |||||
* | Move Source to hir_expand | Aleksey Kladov | 2019-11-02 | 1 | -1/+1 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -2/+40 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -18/+2 |
| | |||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 1 | -5/+5 |
| | |||||
* | refactor | Aleksey Kladov | 2019-10-08 | 1 | -11/+9 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 2 | -0/+4 |
| | | | | #1856 | ||||
* | Store crate info in `MacroDefId` | uHOOCCOOHu | 2019-09-26 | 1 | -1/+1 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 2 | -5/+7 |
| | |||||
* | Correctly build BodySourceMap for macro-expanded expressions | Aleksey Kladov | 2019-09-03 | 1 | -9/+22 |
| | |||||
* | fix hir for new block syntax | Aleksey Kladov | 2019-09-02 | 1 | -3/+3 |
| | |||||
* | Add an expr_source method analogous to the source methods in the code model | Florian Diebold | 2019-09-02 | 1 | -3/+27 |
| | | | | ... and use that instead of exposing the source map. | ||||
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 2 | -34/+34 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 2 | -6/+6 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | move docs under code model | Aleksey Kladov | 2019-06-11 | 1 | -0/+96 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | minor formatting | Aleksey Kladov | 2019-06-11 | 1 | -4/+0 |
| | |||||
* | remove unneded From(..) impl | Aleksey Kladov | 2019-06-11 | 1 | -19/+13 |
| | |||||
* | move source to a seaparate file | Aleksey Kladov | 2019-06-11 | 1 | -0/+120 |