commit | a4673e104b84eca5ad4ffd62ea086d5ac6b3a348 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Tue Jul 26 20:57:10 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Tue Jul 26 20:57:10 2011 +0000 |
tree | c47e3674c56c722e6eacfc54254263baf5f728bd | |
parent | 021cdc20ee58988a63f5b1569ed87438f4bfb687 [diff] |
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