[ilist_node] Add a getReverseIterator() method and a unittest for it.
authorMichael Gottesman <mgottesman@apple.com>
Wed, 2 Nov 2016 00:59:58 +0000 (00:59 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Wed, 2 Nov 2016 00:59:58 +0000 (00:59 +0000)
commitb4a9bd83de7e7268bc64da5e1be54aa490e3610c
tree7273b1e138fd10012d696782f0fd65ea0ccd3c77
parenta0fe8a324e3794fa9e2a7c4a707dfe1cfdd4a39e
[ilist_node] Add a getReverseIterator() method and a unittest for it.

This is the reverse_iterator analogue of getIterator().

llvm-svn: 285780
llvm/include/llvm/ADT/ilist_node.h
llvm/unittests/ADT/SimpleIListTest.cpp