History log of /external/llvm/unittests/ADT/ilistTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3ef5332fa3f4d5ec72c178a2b19dac363a19383 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r256229

http://b/26987366

Change-Id: I1f29c4676a8abe633ab5707dded58d846c973d50
/external/llvm/unittests/ADT/ilistTest.cpp
4c5e43da7792f75567b693105cc53e3f1992ad98 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master llvm for rebase to r233350

Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/unittests/ADT/ilistTest.cpp
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/unittests/ADT/ilistTest.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/unittests/ADT/ilistTest.cpp
7c5c12bd4d60070c90161df9f6ae078c1f7b1ce5 04-Jan-2013 Jakob Stoklund Olesen <stoklund@2pi.dk> Add an iplist::clearAndLeakNodesUnsafely() function.

The iplist::clear() function can be quite expensive because it traverses
the entire list, calling deleteNode() and removeNodeFromList() on each
element. If node destruction and deallocation can be handled some other
way, clearAndLeakNodesUnsafely() can be used to jettison all nodes
without bringing them into cache.

The function name is meant to be ominous.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171540 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/ilistTest.cpp
7f00f87767036e74445aad0164eea13cf2642610 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Sort a few more #include lines in tools/... unittests/... and utils/...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/ilistTest.cpp
7f1d6d688f6ae288a16a4151e8a27b518d97f6f7 18-Dec-2012 Jakob Stoklund Olesen <stoklund@2pi.dk> Add an assertion for a likely ilist::splice() contract violation.

The single-element ilist::splice() function supports a noop move:

List.splice(I, List, I);

The corresponding std::list function doesn't allow that, so add a unit
test to document that behavior.

This also means that

List.splice(I, List, F);

is somewhat surprisingly not equivalent to

List.splice(I, List, F, next(F));

This patch adds an assertion to catch the illegal case I == F above.
Alternatively, we could make I == F a legal noop, but that would make
ilist differ even more from std::list.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/ilistTest.cpp
5a88dda4be791426ab4d20a6a6c9c65d66614a27 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for unittest/...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/ilistTest.cpp
f1fd2288f36b58b8979761ba09e2a398c6afd110 13-May-2010 Daniel Dunbar <daniel@zuster.org> Fix const ilist_node::get{Prev,Next}Node() to actually compile. Picky, picky.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103723 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/ilistTest.cpp
aa81380353a27d9d216cafdd88df08a5eef43b74 12-May-2010 Daniel Dunbar <daniel@zuster.org> ADT: Add ilist_node::get{Prev,Next}Node, which return the adjacent node or null.
- This provides a convenient alternative to using something llvm::prior or
manual iterator access, for example::

if (T *Prev = foo->getPrevNode())
...

instead of::

iterator it(foo);
if (it != begin()) {
--it;
...
}

- Chris, please review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/ilistTest.cpp