Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 1 | -3/+3 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Track source of type parameters | Aleksey Kladov | 2019-12-07 | 1 | -2/+10 |
| | |||||
* | Add expansion infrastructure for derive macros | Florian Diebold | 2019-12-05 | 1 | -1/+4 |
| | |||||
* | Confluent `ModuleSource` usage | ice1000 | 2019-12-04 | 1 | -5/+1 |
| | |||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 1 | -1/+2 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -6/+6 |
| | |||||
* | Move source-related traits to a separate module | Aleksey Kladov | 2019-11-28 | 1 | -1/+4 |
| | |||||
* | Use InFile for AstId | Aleksey Kladov | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -18/+18 |
| | |||||
* | Rename module_id -> local_id | Aleksey Kladov | 2019-11-27 | 1 | -2/+2 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -4/+4 |
| | |||||
* | Remove impl_block module | Aleksey Kladov | 2019-11-24 | 1 | -2/+8 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -27/+2 |
| | |||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-24 | 1 | -2/+1 |
| | |||||
* | Move ModuleSource back to hir | Aleksey Kladov | 2019-11-23 | 1 | -1/+3 |
| | |||||
* | Simplify HasSource | Aleksey Kladov | 2019-11-23 | 1 | -21/+18 |
| | |||||
* | Hide ImportId | Aleksey Kladov | 2019-11-23 | 1 | -1/+11 |
| | |||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -10/+9 |
| | |||||
* | More principled sources for enums and fields | Aleksey Kladov | 2019-11-22 | 1 | -41/+9 |
| | |||||
* | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 |
| | |||||
* | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 1 | -2/+1 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | | | | This allows us to get rid of trait item index | ||||
* | 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 | -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 | 1 | -12/+12 |
| | |||||
* | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Store crate info in `MacroDefId` | uHOOCCOOHu | 2019-09-26 | 1 | -1/+1 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 1 | -3/+4 |
| | |||||
* | 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 | 1 | -22/+22 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -4/+4 |
| | | | | | | 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 | ||||
* | 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 |