We can do better with the SBValue.linked_list_iter() API by supplying a default
end of list test function as __eol_test__.

The simple example can be reduced to:

    for t in task_head.linked_list_iter('next'):
        print t

Modify the test program to exercise the API for both cases: supplying or not
supplying an end of list test function.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136144 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed