]> granicus.if.org Git - clang/commit
- Adding lexical_parent and semantic_parent properties to clang.cindex.Cursor
authorManuel Klimek <klimek@google.com>
Mon, 7 May 2012 05:56:03 +0000 (05:56 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 7 May 2012 05:56:03 +0000 (05:56 +0000)
commit667fd80de4c3b7b143ba98a3b73e9b9b200f6af0
tree3eb2a8e22c19772fe24a2579ac3c79c46c478913
parent0a84e7a4d6e2b8f52879ebdf03ce0a682ba0eb8b
- Adding lexical_parent and semantic_parent properties to clang.cindex.Cursor
- Two new tests (one for each property), require libclang built from r155858 or later to pass
- New test utility function (get_cursors) that gets all the nodes with a specific spelling.

Patch by Evan Pipho.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156286 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_cursor.py
bindings/python/tests/cindex/util.py