+    i, j = None, None
+    for cursor in tu.cursor.get_children():
+        if cursor.spelling == 'i':
+            i = cursor
+        elif cursor.spelling == 'j':
+            j = cursor

I'd reuse get_cursor from patch 2 here.

Cheers,
/Manuel

On Fri, Feb 17, 2012 at 8:58 AM, Gregory Szorc <[email protected]> wrote:
> ---
>  bindings/python/tests/cindex/test_type.py |   39 
> +++++++++++++++++++++++++++++
>  1 files changed, 39 insertions(+), 0 deletions(-)
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to