aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres.rs
Commit message (Collapse)AuthorAgeFilesLines
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Publicize debug printing of CrateDefMapAleksey Kladov2020-01-281-0/+40
|
* Remove dead codeAleksey Kladov2020-01-161-34/+2
|
* Don't parse child modules when doing diagnosticsAleksey Kladov2020-01-151-0/+7
|
* Add `_query` suffix to `compute_crate_def_map` for consistencyMichal Terepeta2020-01-031-1/+1
| | | | Signed-off-by: Michal Terepeta <[email protected]>
* Split `crate_def_map` into two methodsMichal Terepeta2020-01-031-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 ItemScopeAleksey Kladov2019-12-201-3/+1
|
* Rename ModuleScope -> ItemScopeAleksey Kladov2019-12-201-2/+2
|
* Move ModuleScope to a new moduleAleksey Kladov2019-12-201-105/+3
|
* Remove code that never was alive?Aleksey Kladov2019-12-201-9/+2
|
* Use different types for path with and without genericsAleksey Kladov2019-12-141-2/+2
|
* Publicize `file_id` to make `test_db` compileice10002019-12-051-1/+1
|
* Use placeholder instead of `Option`ice10002019-12-051-13/+9
|
* One pub function less is good!ice10002019-12-051-5/+0
|
* Reduce visibility, use struct instead of tuplesice10002019-12-051-20/+23
|
* No block at the momentice10002019-12-041-6/+1
|
* Remove almost unused `ModuleSource::new`ice10002019-12-041-19/+1
|
* Confluent `ModuleSource` usageice10002019-12-041-13/+5
|
* Add `ModuleSource::Block`ice10002019-12-041-2/+66
|
* Fix test compilationice10002019-12-041-1/+1
|
* Three-state enum for module originice10002019-12-041-16/+75
|
* Replace `ra_hir_expand::either` with crateice10002019-12-031-4/+4
|
* Fix commentEdwin Cheng2019-12-011-2/+1
|
* Add BuiltinShadowModeEdwin Cheng2019-11-301-3/+27
|
* Use InFile for AstIdAleksey Kladov2019-11-281-3/+3
|
* Rename Source -> InFileAleksey Kladov2019-11-281-7/+7
|
* SimplifyAleksey Kladov2019-11-241-1/+1
|
* Cleanup nameresAleksey Kladov2019-11-241-26/+6
|
* CleanupAleksey Kladov2019-11-241-1/+1
|
* Push poison_macros downAleksey Kladov2019-11-241-14/+1
|
* Reduce visbilityAleksey Kladov2019-11-241-10/+10
|
* Privatise nameresAleksey Kladov2019-11-231-3/+3
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-16/+16
|
* Move ImportIdAleksey Kladov2019-11-231-5/+3
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-8/+8
|
* Move attrs query to hir_defAleksey Kladov2019-11-231-1/+30
|
* Move traits to hir_defAleksey Kladov2019-11-201-0/+8
|
* Remove wrong cloneAleksey Kladov2019-11-151-2/+2
|
* Store impls in CrateDefMapAleksey Kladov2019-11-151-1/+2
|
* Reduce visibilityAleksey Kladov2019-11-151-1/+1
|
* Move scope tests to hir_defAleksey Kladov2019-11-151-2/+7
|
* Privatize modulesAleksey Kladov2019-11-151-1/+5
|
* Refactor Module::from_source to properly descend from root fileAleksey Kladov2019-11-151-0/+7
|
* Touch up nameres doc commentAleksey Kladov2019-11-081-7/+6
|
* Extract path resolution submoduleAleksey Kladov2019-11-081-241/+6
|
* SimplifyAleksey Kladov2019-11-081-6/+0
| | | | | There's only one call-site for the function, so it seems fine to inline
* Reduce visibilityAleksey Kladov2019-11-041-2/+2
|
* Reduce visibilityAleksey Kladov2019-11-041-2/+2
|
* Reexport relative_path from ra_dbAleksey Kladov2019-11-031-1/+1
|
* Remove last traces of nameres from hirAleksey Kladov2019-11-031-1/+48
|