operator[] is not defined for list::iterator. Overload it in ilist::iterator
authorNick Lewycky <nicholas@mxc.ca>
Sat, 12 Jul 2008 07:00:52 +0000 (07:00 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 12 Jul 2008 07:00:52 +0000 (07:00 +0000)
commit066075030ad46b3494480a5f79f05443f947aca7
tree77157ea53692aea7afcc91cab563943678b05352
parent3ac9e109b24eaae482eb914d970ba7980f462925
operator[] is not defined for list::iterator. Overload it in ilist::iterator
to prevent silly things from happening accidentally. PR2171

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53507 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ilist.h