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)
commitd71825c3cbdb173274c2e3afcef2c66552400648
tree981555ff6654d73164e38e4998f934b77c47bd40
parente068ac77a223588faf7d80b36e516a656d9b52f6
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.

llvm-svn: 220687
llvm/include/llvm/ADT/MapVector.h
llvm/unittests/ADT/MapVectorTest.cpp