When I was writing tests for the original version of this patch I discovered that clang_getCursorLexicalParent was actually broken for some edge cases. Now that my patch for that issue was committed in r155858, lets try this again.
- 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. Thanks -Evan Pipho
python_cursor_parents.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
