Factor the iterators of ImmutableSet/ImmutableMap into a common base class
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 15 Mar 2015 13:26:03 +0000 (13:26 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 15 Mar 2015 13:26:03 +0000 (13:26 +0000)
commit81c1d4095f8474e72de926197b700b145701524a
tree7cadcff6ecac820605dab5d7da593d1541178f60
parent3d849bdb47a23711ac5b47615a7a34229bc4d6c8
Factor the iterators of ImmutableSet/ImmutableMap into a common base class

This simplifies code quite a bit and brings the iterators closer to
C++'s iterator concept. No functional change intended.

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