Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to variant-granularity field type inference | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Simplify ADT fields | Aleksey Kladov | 2019-11-24 | 1 | -9/+5 |
| | |||||
* | Remove impl_block module | Aleksey Kladov | 2019-11-24 | 1 | -0/+35 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -52/+5 |
| | |||||
* | Don't redo field resolution in the IDE | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Cleanup nameres | Aleksey Kladov | 2019-11-24 | 1 | -2/+2 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-24 | 1 | -7/+4 |
| | |||||
* | Move ModuleSource back to hir | Aleksey Kladov | 2019-11-23 | 1 | -3/+62 |
| | |||||
* | Privatise nameres | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 |
| | |||||
* | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 1 | -3/+3 |
| | |||||
* | Move ImportId | Aleksey Kladov | 2019-11-23 | 1 | -4/+4 |
| | |||||
* | Hide ImportId | Aleksey Kladov | 2019-11-23 | 1 | -15/+11 |
| | |||||
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -16/+15 |
| | |||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -4/+52 |
| | |||||
* | Remove TraitData from API | Aleksey Kladov | 2019-11-22 | 1 | -9/+4 |
| | |||||
* | Hide data from public API | Aleksey Kladov | 2019-11-22 | 1 | -10/+2 |
| | |||||
* | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -45/+6 |
| | |||||
* | Make ImplData's fields public | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 |
| | |||||
* | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -77/+10 |
| | |||||
* | Move TypeAlias to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -2/+2 |
| | |||||
* | Remove old hir::generics module | Aleksey Kladov | 2019-11-21 | 1 | -12/+34 |
| | |||||
* | Move resolver to hir_def | Aleksey Kladov | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Use GenericParam in ScopeDef | Aleksey Kladov | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Move ScopeDef | Aleksey Kladov | 2019-11-21 | 1 | -1/+25 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Decouple Resolver | Aleksey Kladov | 2019-11-21 | 1 | -11/+7 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-20 | 1 | -8/+9 |
| | |||||
* | Add HasResolver trait | Aleksey Kladov | 2019-11-20 | 1 | -104/+2 |
| | |||||
* | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 1 | -1/+41 |
| | |||||
* | Simplify generic params | Aleksey Kladov | 2019-11-20 | 1 | -17/+6 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -10/+15 |
| | | | | This allows us to get rid of trait item index | ||||
* | Don't duplicate ContainerId type | Aleksey Kladov | 2019-11-20 | 1 | -8/+8 |
| | |||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 1 | -12/+16 |
| | |||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -10/+15 |
| | | | | | | | | | | | | | | | | | 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_def | Aleksey Kladov | 2019-11-20 | 1 | -20/+12 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -7/+7 |
| | |||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 1 | -14/+11 |
| | |||||
* | Flatten expr module | Aleksey Kladov | 2019-11-15 | 1 | -1/+1 |
| | |||||
* | Refactor Module::from_source to properly descend from root file | Aleksey Kladov | 2019-11-15 | 1 | -1/+1 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -9/+19 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -5/+5 |
| | |||||
* | Introduce hir::GenericParam | Aleksey Kladov | 2019-11-11 | 1 | -1/+7 |
| | | | | Unlike existing hir::GenericParams, this is a global ID. | ||||
* | Add hir::Local | Aleksey Kladov | 2019-11-11 | 1 | -2/+53 |
| | |||||
* | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -6/+6 |
| | |||||
* | Merge #2179 | bors[bot] | 2019-11-06 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]> | ||||
| * | HirDatabase stored attributes | Martin Asquino | 2019-11-04 | 1 | -0/+1 |
| | | |||||
* | | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 1 | -2/+2 |
|/ | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 1 | -2/+1 |
| |