rust/compiler/rustc_passes/src
bors d5f9c40e6a Auto merge of #93466 - cjgillot:query-dead, r=nagisa
Make dead code check a query.

Dead code check is run for each invocation of the compiler, even if no modifications were involved.
This PR makes dead code check a query keyed on the module. This allows to skip the check when a module has not changed.
To perform this, a query `live_symbols_and_ignored_derived_traits` is introduced to encapsulate the global analysis of finding live symbols. The second query `check_mod_deathness` outputs diagnostics for each module based on this first query's results.
2022-02-02 02:29:32 +00:00
..
liveness
check_attr.rs review + rebase 2022-02-01 10:29:36 +01:00
check_const.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
dead.rs Make dead code check a query. 2022-02-01 13:11:03 +01:00
diagnostic_items.rs
entry.rs Reduce use of local_def_id_to_hir_id. 2022-01-15 21:26:25 +01:00
hir_id_validator.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
hir_stats.rs Auto merge of #87648 - JulianKnodt:const_eq_constrain, r=oli-obk 2022-01-18 09:58:39 +00:00
intrinsicck.rs Auto merge of #92731 - bjorn3:asm_support_changes, r=nagisa 2022-01-18 14:32:52 +00:00
lang_items.rs Clean up lang_items::extract 2022-01-09 13:41:04 -08:00
layout_test.rs Remove in_band_lifetimes for rustc_passes 2021-12-15 20:12:53 -07:00
lib_features.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
lib.rs Auto merge of #93466 - cjgillot:query-dead, r=nagisa 2022-02-02 02:29:32 +00:00
liveness.rs Auto merge of #90986 - camsteffen:nested-filter, r=cjgillot 2022-01-17 14:50:50 +00:00
loops.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
naked_functions.rs Reject unsupported naked functions 2022-01-21 17:38:21 +01:00
reachable.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
region.rs More comments and small cleanups 2022-01-18 14:25:26 -08:00
stability.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
upvars.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
weak_lang_items.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00