rustc_mir_dataflow::framework::visitor

Function visit_results

Source
pub fn visit_results<'mir, 'tcx, A>(
    body: &'mir Body<'tcx>,
    blocks: impl IntoIterator<Item = BasicBlock>,
    results: &mut Results<'tcx, A>,
    vis: &mut impl ResultsVisitor<'mir, 'tcx, A>,
)
where A: Analysis<'tcx>,
Expand description

Calls the corresponding method in ResultsVisitor for every location in a mir::Body with the dataflow state at that location.