Hans Wennborg 028af930f9 Merging r294349 and r294357:
------------------------------------------------------------------------
r294349 | dexonsmith | 2017-02-07 13:03:50 -0800 (Tue, 07 Feb 2017) | 12 lines

ADT: Add explicit conversions for reverse ilist iterators

Add explicit conversions between forward and reverse ilist iterators.
These follow the conversion conventions of std::reverse_iterator, which
are off-by-one: the newly-constructed "reverse" iterator dereferences to
the previous node of the one sent in.  This has the benefit of
converting reverse ranges in place:
  - If [I, E) is a valid range,
  - then [reverse(E), reverse(I)) gives the same range in reverse order.

ilist_iterator::getReverse() is unchanged: it returns a reverse iterator
to the *same* node.
------------------------------------------------------------------------

------------------------------------------------------------------------
r294357 | dblaikie | 2017-02-07 13:31:03 -0800 (Tue, 07 Feb 2017) | 1 line

Fix some missing negations in the traits checking from r294349
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@294477 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-08 17:02:53 +00:00
..
2016-08-10 19:50:14 +00:00
2016-10-18 17:50:39 +00:00
2014-06-08 22:29:17 +00:00
2016-10-19 18:02:21 +00:00
2014-06-08 22:29:17 +00:00
2016-08-10 17:52:09 +00:00
2016-04-18 09:17:29 +00:00
2016-12-17 01:31:46 +00:00