mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-01-30 22:03:51 +00:00
Add initial AST and MIR support for unwinding from inline assembly
This commit is contained in:
parent
23f752f278
commit
c813bfa424
1 changed files with 3 additions and 5 deletions
|
@ -15,7 +15,7 @@ use rustc_middle::mir::{
|
|||
Mutability,
|
||||
};
|
||||
use rustc_middle::ty::{self, fold::TypeVisitor, Ty, TyCtxt};
|
||||
use rustc_mir_dataflow::{Analysis, AnalysisDomain, GenKill, GenKillAnalysis, ResultsCursor};
|
||||
use rustc_mir_dataflow::{Analysis, AnalysisDomain, CallReturnPlaces, GenKill, GenKillAnalysis, ResultsCursor};
|
||||
use rustc_session::{declare_lint_pass, declare_tool_lint};
|
||||
use rustc_span::source_map::{BytePos, Span};
|
||||
use rustc_span::sym;
|
||||
|
@ -499,11 +499,9 @@ impl<'tcx> GenKillAnalysis<'tcx> for MaybeStorageLive {
|
|||
|
||||
fn call_return_effect(
|
||||
&self,
|
||||
_in_out: &mut impl GenKill<Self::Idx>,
|
||||
_trans: &mut impl GenKill<Self::Idx>,
|
||||
_block: mir::BasicBlock,
|
||||
_func: &mir::Operand<'tcx>,
|
||||
_args: &[mir::Operand<'tcx>],
|
||||
_return_place: mir::Place<'tcx>,
|
||||
_return_places: CallReturnPlaces<'_, 'tcx>,
|
||||
) {
|
||||
// Nothing to do when a call returns successfully
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue