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]> | |||||
* | Merge #2650 | bors[bot] | 2019-12-29 | 1 | -1/+25 | |
|\ | | | | | | | | | | | | | | | 2650: Add macro call support for SourceAnalyzer::type_of r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Use pre-stored macro file | Edwin Cheng | 2019-12-23 | 1 | -19/+21 | |
| | | ||||||
| * | Add macro call support for type_of | Edwin Cheng | 2019-12-23 | 1 | -2/+24 | |
| | | ||||||
* | | 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 | 2 | -3/+20 | |
| | | ||||||
* | | 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 | |
| | ||||||
* | More profiling | Aleksey Kladov | 2019-12-21 | 1 | -2/+7 | |
| | ||||||
* | Merge #2637 | bors[bot] | 2019-12-21 | 2 | -0/+7 | |
|\ | | | | | | | | | | | | | | | 2637: Optimize and profile r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Optimize and profile | Aleksey Kladov | 2019-12-21 | 2 | -0/+7 | |
| | | ||||||
* | | Remove import source map | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 | |
|/ | ||||||
* | Remove imports from hir | Aleksey Kladov | 2019-12-21 | 3 | -27/+8 | |
| | ||||||
* | Revert "Merge #2629" | Aleksey Kladov | 2019-12-21 | 4 | -14/+28 | |
| | | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79. | |||||
* | Remove import source map | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 | |
| | ||||||
* | Remove hir for imports | Aleksey Kladov | 2019-12-21 | 3 | -26/+12 | |
| | ||||||
* | Move impls to ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 | |
| | ||||||
* | Fix resolve for field init shorthand | Aleksey Kladov | 2019-12-20 | 2 | -8/+16 | |
| | ||||||
* | 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 | |
| | ||||||
* | Rebuild ra_lsp_server and nest helper function. | Aleksey Kladov | 2019-12-20 | 1 | -37/+37 | |
| | | | | Completion now works again, so there's no need not to nest | |||||
* | Handle nested declrations in from_source | Aleksey Kladov | 2019-12-20 | 1 | -7/+16 | |
| | ||||||
* | Add local functions to bodies | Aleksey Kladov | 2019-12-20 | 1 | -3/+8 | |
| | ||||||
* | Drop dead code | Aleksey Kladov | 2019-12-19 | 2 | -60/+4 | |
| | ||||||
* | Merge #2562 | bors[bot] | 2019-12-17 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Re-export Origin to replace ExpansionOrigin | Edwin Cheng | 2019-12-14 | 1 | -2/+1 | |
| | | ||||||
| * | Fix original_source find order | Edwin Cheng | 2019-12-14 | 1 | -1/+2 | |
| | | ||||||
* | | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 2 | -28/+30 | |
| | | ||||||
* | | Use path macro | Florian Diebold | 2019-12-13 | 1 | -2/+2 | |
| | | ||||||
* | | 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 | |
|/ | ||||||
* | Dedupe from_source impls | Aleksey Kladov | 2019-12-12 | 1 | -77/+34 | |
| | ||||||
* | Move enum&union to new loc | Aleksey Kladov | 2019-12-12 | 3 | -27/+18 | |
| | ||||||
* | Move structs to new loc | Aleksey Kladov | 2019-12-12 | 3 | -5/+7 | |
| | ||||||
* | Simplify from_source | Aleksey Kladov | 2019-12-12 | 1 | -49/+34 | |
| | ||||||
* | Move traits to the new loc | Aleksey Kladov | 2019-12-12 | 3 | -4/+6 | |
| | ||||||
* | Switch to the new location for impls | Aleksey Kladov | 2019-12-12 | 3 | -5/+10 | |
| | ||||||
* | Build correct SourceAnalyzer for traits | Aleksey Kladov | 2019-12-10 | 1 | -14/+4 | |
| | ||||||
* | Remove one more Ty | Aleksey Kladov | 2019-12-08 | 2 | -7/+2 | |
| | ||||||
* | Remove more dead code | Aleksey Kladov | 2019-12-08 | 2 | -96/+0 | |
| | ||||||
* | Cleanup module structure | Aleksey Kladov | 2019-12-08 | 3 | -8/+7 | |
| | ||||||
* | Remove dead code | Aleksey Kladov | 2019-12-08 | 1 | -33/+0 | |
| | ||||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 5 | -49/+36 | |
| | ||||||
* | 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 | 2 | -49/+5 | |
| | ||||||
* | Cleanup Field ty | Aleksey Kladov | 2019-12-08 | 1 | -10/+21 | |
| |