ADT: Remove external uses of ilist_iterator, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 3 Sep 2016 01:22:56 +0000 (01:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 3 Sep 2016 01:22:56 +0000 (01:22 +0000)
commit8cc24eadd2e6269b76a2b5c715a0af8b701dbda1
tree439a57293cc7faaf9a52a7bf69cd148538e6e098
parente974f572980121460ec5e1007dfd0f2e3f90b3db
ADT: Remove external uses of ilist_iterator, NFC

Delete the dead code for Write(ilist_iterator) in the IR Verifier,
inline report(ilist_iterator) at its call sites in the MachineVerifier,
and use simple_ilist<>::iterator in SymbolTableListTraits.

The only remaining reference to ilist_iterator outside of the ilist
implementation is from MachineInstrBundleIterator.  I'll get rid of that
in a follow-up.

llvm-svn: 280565
llvm/include/llvm/IR/SymbolTableListTraits.h
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/lib/IR/SymbolTableListTraitsImpl.h
llvm/lib/IR/Verifier.cpp