1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include
Daniel Dunbar 78bb7f4dc9 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.

llvm-svn: 103647
2010-05-12 21:35:19 +00:00
..
llvm ADT: Add ilist_node::get{Prev,Next}Node, which return the adjacent node or null. 2010-05-12 21:35:19 +00:00
llvm-c add some more (void)'s to prototypes for PR6961 2010-04-29 23:27:32 +00:00