Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `profile` calls to {Module,Function}::diagnostics | Michal Terepeta | 2020-01-03 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | With this change the output `ra_prof` gives a better indication where the time is spent. Example output: ``` 213ms - publish_diagnostics 213ms - diagnostics 70ms - Module::from_definition 70ms - Module::from_file 132ms - Module::diagnostics 78ms - Function::diagnostics 0ms - body_with_source_map_query (1 calls) 2ms - trait_solve_query (1 calls) 76ms - ??? 15ms - Function::diagnostics 0ms - body_with_source_map_query (1 calls) 15ms - trait_solve_query (5 calls) 38ms - Function::diagnostics (51 calls) 8ms - parse_query (1 calls) ``` Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | visible_from -> is_visible_from | Florian Diebold | 2019-12-27 | 1 | -2/+2 |
| | |||||
* | Remove visibility query, instead add struct field visibility to data | Florian Diebold | 2019-12-26 | 1 | -2/+2 |
| | | | | | Methods should be handled the same, and for items the visibility will be in the def map. | ||||
* | Rename ResolvedVisibility -> Visibility | Florian Diebold | 2019-12-26 | 1 | -3/+3 |
| | |||||
* | Add visibility in code model for fields | Florian Diebold | 2019-12-26 | 1 | -1/+18 |
| | |||||
* | Fill in type params in 'add missing impl members' assist | Florian Diebold | 2019-12-24 | 1 | -0/+11 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-12-22 | 1 | -1/+1 |
| | |||||
* | Remove imports from hir | Aleksey Kladov | 2019-12-21 | 1 | -11/+4 |
| | |||||
* | Revert "Merge #2629" | Aleksey Kladov | 2019-12-21 | 1 | -8/+10 |
| | | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79. | ||||
* | Remove hir for imports | Aleksey Kladov | 2019-12-21 | 1 | -10/+8 |
| | |||||
* | Move impls to ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Use generic ItemLoc for impls | Aleksey Kladov | 2019-12-20 | 1 | -2/+2 |
| | |||||
* | Support for nested traits | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Support for nested ADT | Aleksey Kladov | 2019-12-20 | 1 | -6/+6 |
| | |||||
* | Drop dead code | Aleksey Kladov | 2019-12-19 | 1 | -59/+3 |
| | |||||
* | Rename N! to name! | Florian Diebold | 2019-12-13 | 1 | -2/+2 |
| | |||||
* | Add macros for known names and paths | Florian Diebold | 2019-12-13 | 1 | -2/+2 |
| | |||||
* | Move enum&union to new loc | Aleksey Kladov | 2019-12-12 | 1 | -5/+5 |
| | |||||
* | Move structs to new loc | Aleksey Kladov | 2019-12-12 | 1 | -2/+2 |
| | |||||
* | Move traits to the new loc | Aleksey Kladov | 2019-12-12 | 1 | -1/+1 |
| | |||||
* | Switch to the new location for impls | Aleksey Kladov | 2019-12-12 | 1 | -2/+5 |
| | |||||
* | Remove one more Ty | Aleksey Kladov | 2019-12-08 | 1 | -5/+0 |
| | |||||
* | Cleanup module structure | Aleksey Kladov | 2019-12-08 | 1 | -3/+0 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2019-12-08 | 1 | -33/+0 |
| | |||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 1 | -20/+16 |
| | |||||
* | Remove bodies from code_model | Aleksey Kladov | 2019-12-08 | 1 | -9/+0 |
| | |||||
* | remove `infer` method from CodeModel | Aleksey Kladov | 2019-12-08 | 1 | -14/+2 |
| | |||||
* | Drop some unused methods | Aleksey Kladov | 2019-12-08 | 1 | -47/+1 |
| | |||||
* | Cleanup Field ty | Aleksey Kladov | 2019-12-08 | 1 | -10/+21 |
| | |||||
* | Cleanup Crate API | Aleksey Kladov | 2019-12-08 | 1 | -17/+31 |
| | |||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 1 | -8/+8 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Classify name works for TypeParams | Aleksey Kladov | 2019-12-07 | 1 | -0/+4 |
| | |||||
* | ToNav for GenericParam | Aleksey Kladov | 2019-12-07 | 1 | -0/+7 |
| | |||||
* | Remove idx and parent generics from generics | Aleksey Kladov | 2019-12-07 | 1 | -3/+2 |
| | | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead. | ||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 1 | -61/+4 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -2/+5 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Use Name::missing consistently | Aleksey Kladov | 2019-11-27 | 1 | -10/+7 |
| | |||||
* | Minimize API | Aleksey Kladov | 2019-11-27 | 1 | -8/+1 |
| | |||||
* | Rename module_id -> local_id | Aleksey Kladov | 2019-11-27 | 1 | -10/+10 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -15/+32 |
| | |||||
* | Use Id for variats | Aleksey Kladov | 2019-11-27 | 1 | -8/+0 |
| | |||||
* | More decoupling | Aleksey Kladov | 2019-11-27 | 1 | -5/+5 |
| | |||||
* | Decouple more | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-11-26 | 1 | -9/+40 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 |
| | |||||
* | Remove last traces of adt from Ty | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 |
| | |||||
* | More precise NameKind::Self | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 |
| | |||||
* | Remove ns-polymorphic type_for_def | Aleksey Kladov | 2019-11-26 | 1 | -8/+7 |
| | |||||
* | Use TraitId in TraitRef | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 |
| |