Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -16/+21 |
| | |||||
* | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 1 | -2/+4 |
| | |||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 1 | -0/+9 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -11/+20 |
| | |||||
* | add ModuleDefId to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -3/+3 |
| | |||||
* | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -44/+4 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -4/+4 |
| | |||||
* | remove forward pointer for type_ref | Aleksey Kladov | 2019-10-30 | 1 | -2/+1 |
| | |||||
* | remove forward pointer for name | Aleksey Kladov | 2019-10-30 | 1 | -9/+9 |
| | |||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 1 | -27/+3 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -8/+8 |
| | |||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 1 | -36/+41 |
| | |||||
* | remove one more dependency on source roots | Aleksey Kladov | 2019-10-14 | 1 | -5/+3 |
| | |||||
* | add `module` methods | Ekaterina Babshukova | 2019-10-09 | 1 | -0/+32 |
| |