Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adt.rs: fetch struct/union data from item tree | Jonas Schievink | 2020-06-25 | 1 | -19/+49 |
| | |||||
* | refactor: use attrsOwner directly in is_cfg_enabled | Benjamin Coenen | 2020-05-05 | 1 | -9/+8 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | add support of cfg attributes on enum variants #4279 | Benjamin Coenen | 2020-05-03 | 1 | -1/+7 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -5/+13 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -11/+11 |
| | |||||
* | Avoid cyclic queries in name resolution when processing enums | Aleksey Kladov | 2020-04-11 | 1 | -4/+4 |
| | |||||
* | Align naming | Aleksey Kladov | 2020-04-11 | 1 | -2/+2 |
| | |||||
* | Use Expander for cfg handling in structs | Aleksey Kladov | 2020-04-11 | 1 | -10/+10 |
| | |||||
* | feat: add support for feature attributes in struct literal | Benjamin Coenen | 2020-04-09 | 1 | -18/+39 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | feat: add attributes support on struct fields and method #3870 | Benjamin Coenen | 2020-04-08 | 1 | -27/+3 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | feat: add attributes support on struct fields #3870 | Benjamin Coenen | 2020-04-07 | 1 | -3/+28 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 1 | -11/+7 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -8/+8 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Fix handling of const patterns | Florian Diebold | 2020-02-21 | 1 | -0/+1 |
| | | | | | | | | | E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618. | ||||
* | replace uses of VariantData::is_unit with VariantData::kind | adamrk | 2020-02-16 | 1 | -6/+0 |
| | |||||
* | show names for record fields in enum completion | adamrk | 2020-02-16 | 1 | -1/+8 |
| | |||||
* | Remove visibility query, instead add struct field visibility to data | Florian Diebold | 2019-12-26 | 1 | -18/+26 |
| | | | | | Methods should be handled the same, and for items the visibility will be in the def map. | ||||
* | More profiling | Aleksey Kladov | 2019-12-21 | 1 | -0/+2 |
| | |||||
* | Move enum&union to new loc | Aleksey Kladov | 2019-12-12 | 1 | -7/+6 |
| | |||||
* | Move structs to new loc | Aleksey Kladov | 2019-12-12 | 1 | -4/+5 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -3/+3 |
| | |||||
* | Move source-related traits to a separate module | Aleksey Kladov | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Use Name::missing consistently | Aleksey Kladov | 2019-11-27 | 1 | -9/+9 |
| | |||||
* | Id-ify Ty::Adt | Aleksey Kladov | 2019-11-26 | 1 | -0/+4 |
| | |||||
* | Fixme for union fields | Aleksey Kladov | 2019-11-25 | 1 | -0/+5 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -3/+15 |
| | |||||
* | Simplify ADT fields | Aleksey Kladov | 2019-11-24 | 1 | -3/+11 |
| | |||||
* | Use Trace in raw_items | Aleksey Kladov | 2019-11-24 | 1 | -3/+3 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -8/+5 |
| | |||||
* | More principled sources for enums and fields | Aleksey Kladov | 2019-11-22 | 1 | -39/+106 |
| | |||||
* | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -15/+10 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -4/+4 |
| | |||||
* | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -10/+6 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -1/+13 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -0/+114 |