Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Publicize debug printing of CrateDefMap | Aleksey Kladov | 2020-01-28 | 1 | -0/+40 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-01-16 | 1 | -34/+2 |
| | |||||
* | Don't parse child modules when doing diagnostics | Aleksey Kladov | 2020-01-15 | 1 | -0/+7 |
| | |||||
* | Add `_query` suffix to `compute_crate_def_map` for consistency | Michal Terepeta | 2020-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | Split `crate_def_map` into two methods | Michal Terepeta | 2020-01-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change: - introduces `compute_crate_def_map` query and renames `CrateDefMap::crate_def_map_query` for consistency, - annotates `crate_def_map` as `salsa::transparent` and adds a top-level `crate_def_map` wrapper function around that starts the profiler and immediately calls into `compute_crate_def_map` query. This allows us to better understand where we spent the time, in particular, how much is spent in the recomputaiton and how much in salsa. Example output (where we don't actually re-compute anything, but the query still takes a non-trivial amount of time): ``` 211ms - handle_inlay_hints 150ms - get_inlay_hints 150ms - SourceAnalyzer::new 65ms - def_with_body_from_child_node 65ms - analyze_container 65ms - analyze_container 65ms - Module::from_definition 65ms - Module::from_file 65ms - crate_def_map 1ms - parse_macro_query (6 calls) 0ms - raw_items_query (1 calls) 64ms - ??? ``` Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | Move impls to ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -3/+1 |
| | |||||
* | Rename ModuleScope -> ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -2/+2 |
| | |||||
* | Move ModuleScope to a new module | Aleksey Kladov | 2019-12-20 | 1 | -105/+3 |
| | |||||
* | Remove code that never was alive? | Aleksey Kladov | 2019-12-20 | 1 | -9/+2 |
| | |||||
* | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -2/+2 |
| | |||||
* | Publicize `file_id` to make `test_db` compile | ice1000 | 2019-12-05 | 1 | -1/+1 |
| | |||||
* | Use placeholder instead of `Option` | ice1000 | 2019-12-05 | 1 | -13/+9 |
| | |||||
* | One pub function less is good! | ice1000 | 2019-12-05 | 1 | -5/+0 |
| | |||||
* | Reduce visibility, use struct instead of tuples | ice1000 | 2019-12-05 | 1 | -20/+23 |
| | |||||
* | No block at the moment | ice1000 | 2019-12-04 | 1 | -6/+1 |
| | |||||
* | Remove almost unused `ModuleSource::new` | ice1000 | 2019-12-04 | 1 | -19/+1 |
| | |||||
* | Confluent `ModuleSource` usage | ice1000 | 2019-12-04 | 1 | -13/+5 |
| | |||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 1 | -2/+66 |
| | |||||
* | Fix test compilation | ice1000 | 2019-12-04 | 1 | -1/+1 |
| | |||||
* | Three-state enum for module origin | ice1000 | 2019-12-04 | 1 | -16/+75 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -4/+4 |
| | |||||
* | Fix comment | Edwin Cheng | 2019-12-01 | 1 | -2/+1 |
| | |||||
* | Add BuiltinShadowMode | Edwin Cheng | 2019-11-30 | 1 | -3/+27 |
| | |||||
* | Use InFile for AstId | Aleksey Kladov | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -7/+7 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Cleanup nameres | Aleksey Kladov | 2019-11-24 | 1 | -26/+6 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Push poison_macros down | Aleksey Kladov | 2019-11-24 | 1 | -14/+1 |
| | |||||
* | Reduce visbility | Aleksey Kladov | 2019-11-24 | 1 | -10/+10 |
| | |||||
* | Privatise nameres | Aleksey Kladov | 2019-11-23 | 1 | -3/+3 |
| | |||||
* | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 1 | -16/+16 |
| | |||||
* | Move ImportId | Aleksey Kladov | 2019-11-23 | 1 | -5/+3 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -8/+8 |
| | |||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -1/+30 |
| | |||||
* | Move traits to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -0/+8 |
| | |||||
* | Remove wrong clone | Aleksey Kladov | 2019-11-15 | 1 | -2/+2 |
| | |||||
* | Store impls in CrateDefMap | Aleksey Kladov | 2019-11-15 | 1 | -1/+2 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-15 | 1 | -1/+1 |
| | |||||
* | Move scope tests to hir_def | Aleksey Kladov | 2019-11-15 | 1 | -2/+7 |
| | |||||
* | Privatize modules | Aleksey Kladov | 2019-11-15 | 1 | -1/+5 |
| | |||||
* | Refactor Module::from_source to properly descend from root file | Aleksey Kladov | 2019-11-15 | 1 | -0/+7 |
| | |||||
* | Touch up nameres doc comment | Aleksey Kladov | 2019-11-08 | 1 | -7/+6 |
| | |||||
* | Extract path resolution submodule | Aleksey Kladov | 2019-11-08 | 1 | -241/+6 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-08 | 1 | -6/+0 |
| | | | | | There's only one call-site for the function, so it seems fine to inline | ||||
* | Reduce visibility | Aleksey Kladov | 2019-11-04 | 1 | -2/+2 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-04 | 1 | -2/+2 |
| | |||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 1 | -1/+1 |
| | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 1 | -1/+48 |
| |