rust/compiler
Nicholas Nethercote 1d56943f34 Rename some Analysis and ResultsVisitor methods.
The words "before" and "after" have an obvious temporal meaning, e.g.
`seek_before_primary_effect`,
`visit_statement_{before,after}_primary_effect`. But "before" is also
used to name the effect that occurs before the primary effect of a
statement/terminator; this is `Effect::Before`. This leads to the
confusing possibility of talking about things happening "before/after
the before event".

This commit removes this awkward overloading of "before" by renaming
`Effect::Before` as `Effect::Early`. It also renames some of the
`Analysis` and `ResultsVisitor` methods to be more consistent.

Here are the before and after names:

- `Effect::{Before,Primary}`              -> `Effect::{Early,Primary}`
- `apply_before_statement_effect`         -> `apply_early_statement_effect`
- `apply_statement_effect`                -> `apply_primary_statement_effect`
- `visit_statement_before_primary_effect` -> `visit_after_early_statement_effect`
- `visit_statement_after_primary_effect`  -> `visit_after_primary_statement_effect`

(And s/statement/terminator/ for all the terminator events.)
2024-12-10 12:07:13 +11:00
..
rustc switch jemalloc-sys back to tikv-jemalloc-sys, and update to 0.6.0 2024-12-03 08:56:33 +00:00
rustc_abi fix safe-transmute handling of enums 2024-12-01 18:28:04 +01:00
rustc_arena
rustc_ast Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_ast_ir
rustc_ast_lowering Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_ast_passes Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_ast_pretty Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rename some Analysis and ResultsVisitor methods. 2024-12-10 12:07:13 +11:00
rustc_builtin_macros make CoercePointee errors translatable 2024-12-04 20:34:48 +08:00
rustc_codegen_cranelift Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot 2024-12-09 01:56:32 +01:00
rustc_codegen_gcc Remove polymorphization 2024-12-06 16:42:09 -05:00
rustc_codegen_llvm Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr 2024-12-09 03:24:24 +00:00
rustc_codegen_ssa Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot 2024-12-09 01:56:32 +01:00
rustc_const_eval Rename some Analysis and ResultsVisitor methods. 2024-12-10 12:07:13 +11:00
rustc_data_structures Assert that obligations are empty before deeply normalizing 2024-12-02 22:51:18 +00:00
rustc_driver
rustc_driver_impl Use ensure for analysis calls 2024-12-08 16:57:09 +00:00
rustc_error_codes Fix: typo in E0751 error explanation 2024-12-06 22:09:17 -03:00
rustc_error_messages
rustc_errors Handle unwinding out of the closure argument of run_compiler with pending delayed bugs 2024-12-06 18:42:31 +00:00
rustc_expand Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_feature Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #133603 - dtolnay:precedence, r=lcnr 2024-12-02 17:36:03 +01:00
rustc_hir_analysis Do not talk about "trait <Foo = Bar>" 2024-12-07 21:37:15 +00:00
rustc_hir_pretty Rollup merge of #133603 - dtolnay:precedence, r=lcnr 2024-12-02 17:36:03 +01:00
rustc_hir_typeck Auto merge of #133559 - compiler-errors:structurally-resolve-adjust-for-branch, r=lcnr 2024-12-06 04:55:35 +00:00
rustc_incremental Remove all threading through of ErrorGuaranteed from the driver 2024-12-06 18:42:31 +00:00
rustc_index Use BitSet in SparseBitMatrix. 2024-12-09 08:53:33 +11:00
rustc_index_macros Auto merge of #130867 - michirakara:steps_between, r=dtolnay 2024-11-22 10:54:22 +00:00
rustc_infer Assert that obligations are empty before deeply normalizing 2024-12-02 22:51:18 +00:00
rustc_interface Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot 2024-12-09 01:56:32 +01:00
rustc_lexer Revert "Reject raw lifetime followed by \' as well" 2024-12-01 05:22:16 +00:00
rustc_lint Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
rustc_lint_defs Actually walk into lifetimes and attrs in EarlyContextAndPass 2024-12-07 02:08:40 +00:00
rustc_llvm Respect verify-llvm-ir option in the backend 2024-11-26 15:26:03 +01:00
rustc_log
rustc_macros
rustc_metadata Remove polymorphization 2024-12-06 16:42:09 -05:00
rustc_middle Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot 2024-12-09 01:56:32 +01:00
rustc_mir_build Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgr 2024-12-07 09:38:00 +00:00
rustc_mir_dataflow Rename some Analysis and ResultsVisitor methods. 2024-12-10 12:07:13 +11:00
rustc_mir_transform Rename some Analysis and ResultsVisitor methods. 2024-12-10 12:07:13 +11:00
rustc_monomorphize Remove polymorphization 2024-12-06 16:42:09 -05:00
rustc_next_trait_solver do not implement unsafe auto traits for types with unsafe fields 2024-12-05 23:52:21 +00:00
rustc_parse Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_parse_format
rustc_passes Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00
rustc_pattern_analysis no more Reveal :( 2024-11-23 13:52:54 +01:00
rustc_privacy
rustc_query_impl Remove 'tcx lifetime from OnDiskCache 2024-12-06 18:41:50 +00:00
rustc_query_system Make sure to record deps from cached task in new solver on first run 2024-12-04 16:15:44 +00:00
rustc_resolve Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxu 2024-12-03 17:27:06 +01:00
rustc_sanitizers use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
rustc_serialize
rustc_session Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot 2024-12-09 01:56:32 +01:00
rustc_smir Fix ui-fulldep tests 2024-12-06 18:42:31 +00:00
rustc_span Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr 2024-12-09 03:24:24 +00:00
rustc_symbol_mangling Remove polymorphization 2024-12-06 16:42:09 -05:00
rustc_target Rollup merge of #130777 - azhogin:azhogin/reg-struct-return, r=workingjubilee 2024-12-06 09:27:38 +01:00
rustc_trait_selection Rollup merge of #133767 - estebank:multiple-dep-version-tests, r=Nadrieril 2024-12-08 14:28:24 +01:00
rustc_traits Delay a bug when encountering an impl with unconstrained generics in codegen_select 2024-11-23 05:27:45 +00:00
rustc_transmute fix safe-transmute handling of enums 2024-12-01 18:28:04 +01:00
rustc_ty_utils Remove polymorphization 2024-12-06 16:42:09 -05:00
rustc_type_ir do not implement unsafe auto traits for types with unsafe fields 2024-12-05 23:52:21 +00:00
rustc_type_ir_macros
stable_mir