Add MapVector::rbegin(), MapVector::rend() to completment MapVector::begin(), MapVect...
authorMichael Gottesman <mgottesman@apple.com>
Mon, 27 Oct 2014 17:20:53 +0000 (17:20 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Mon, 27 Oct 2014 17:20:53 +0000 (17:20 +0000)
commit86ec9c4081169d44637d08afc4c9d88c4dd7f410
tree5f2f7050cc659407d43826371cf36ae9654bd566
parentaf628cc0b84d3f6acfb2a8dab696b93945e73e88
Add MapVector::rbegin(), MapVector::rend() to completment MapVector::begin(), MapVector::end().

These just delegate to the underlying vector type in the MapVector.

Also just add in some sanity unittests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220687 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/MapVector.h
unittests/ADT/MapVectorTest.cpp