OSDN Git Service

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)
commit31a5b875daa20fa5e8c479acaf7f1a1f19e57eb9
tree60b834253ca17818a5df04c62331682a3d4bcb9d
parent4ee00f773fb5b0c39233a15bdbeed6ca08bf2b94
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280565 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/SymbolTableListTraits.h
lib/CodeGen/MachineVerifier.cpp
lib/IR/SymbolTableListTraitsImpl.h
lib/IR/Verifier.cpp