[cfe-commits] [PATCH 4/5] [clang.py] Add tests for Type.is_volatile_qualified and Type.is_restrict_qualified

Manuel Klimek klimek at google.com
Fri Feb 17 04:43:44 PST 2012


+    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 <gregory.szorc at gmail.com> wrote:
> ---
>  bindings/python/tests/cindex/test_type.py |   39 +++++++++++++++++++++++++++++
>  1 files changed, 39 insertions(+), 0 deletions(-)
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>




More information about the cfe-commits mailing list