OSDN Git Service

ADT: Remove ilist_iterator::reset(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 11 Sep 2016 20:47:27 +0000 (20:47 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 11 Sep 2016 20:47:27 +0000 (20:47 +0000)
commitbc1fa10506106264e7fb303cd0218a0df70e553a
treef8660fcceb605304322e1ace3e502517f93e4336
parent1735568d2e7bd11f2dd52d3675462ac0c3a6c00f
ADT: Remove ilist_iterator::reset(), NFC

ilist_iterator::reset was unnecessary API, and wasn't any clearer (or
safer) at the call site than constructing a temporary and assigning it
to the iterator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281175 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ilist_iterator.h
include/llvm/IR/IRBuilder.h