[PATCH] Return iterator from Instruction::eraseFromParent.

Daniel Berlin dberlin at dberlin.org
Wed Apr 1 11:01:14 PDT 2015


Hi chandlerc,

This is necessary in order to make removal while using reverse iterators work.

(See http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-March/084122.html)

Updates to other eraseFromParent's to come in later patches.

http://reviews.llvm.org/D8783

Files:
  include/llvm/IR/BasicBlock.h
  include/llvm/IR/Instruction.h
  lib/IR/Instruction.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8783.23079.patch
Type: text/x-patch
Size: 4489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150401/d2e8801e/attachment.bin>


More information about the llvm-commits mailing list