Skip to content

Commit 197a5e2

Browse files
Address a comment.
1 parent f9c5ec6 commit 197a5e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/M68k/M68kInstrInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ bool M68kInstrInfo::AnalyzeBranchImpl(MachineBasicBlock &MBB,
9595
// Erase any instructions if allowed at the end of the scope.
9696
std::vector<std::reference_wrapper<llvm::MachineInstr>> EraseList;
9797
auto FinalizeOnReturn = llvm::make_scope_exit([&EraseList] {
98-
for (auto &ref : EraseList)
99-
ref.get().eraseFromParent();
98+
for (auto &Ref : EraseList)
99+
Ref.get().eraseFromParent();
100100
});
101101

102102
// Start from the bottom of the block and work up, examining the

0 commit comments

Comments
 (0)