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)
commit0e63013f27ce672495fd8c4569c925140cd77dcb
tree41d976b21c4ed9857bec32f834e07a701142183e
parent3e718e08181b857c56480a10d7a3324e5019a5cb
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.

llvm-svn: 281175
llvm/include/llvm/ADT/ilist_iterator.h
llvm/include/llvm/IR/IRBuilder.h