History log of /external/clang/bindings/python/tests/cindex/test_translation_unit.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8be80e1e6effd5a333bc70e7f030dc9397d0554e 06-Jul-2011 Douglas Gregor <dgregor@apple.com> Improve the Python bindings for libclang in a few ways, from Eli
Bendersky. Specifically:

* Implemented a new function in libclang: clang_isAttribute

* Fixing TranslationUnit.get_includes to only go through the argument
* buffer when it contains something. This fixed a crash on Windows

* clang_getFileName returns CXString, not char*. Made appropriate
* fixes in cindex.py - now the relevant tests pass and we can see the
* full locations correctly again (previously there was garbage in
* place of the file name)
* Exposed clang_getCursorDisplayName to the python bindings



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134460 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
265e6b2d17ae348ce73961866979f574c65b56f4 05-Feb-2011 Tobias Grosser <grosser@fim.uni-passau.de> python bindings: Add support for translationUnit.reparse().

This is the first step to make the clang_complete vim plugin work with
libclang. Reparsing improves parsing time from 0.8 to 0.25 secs for
one of my LLVM .cpp files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
88f9c6ca6eb0d4c48687dfed4d94292209c5a919 05-Feb-2011 Tobias Grosser <grosser@fim.uni-passau.de> python bindings: Include local headers the right way.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
ef7f798c0921cde7e665935a5630578cc1065e0f 13-Feb-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Add TranslationUnit.get_includes, patch by Andrew Sutton!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
db59a7700e5e42e8b5f6f8e327067a969540ee14 25-Jan-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Support file objects as unsaved_files, albeit inefficiently.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
5b534f67946eeb2cb29076288bfee9707f055f82 25-Jan-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Implement support for unsaved/remapped files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
1f8d7f94c7c61c7bb45ebb07e6ce5461bf2a80d5 25-Jan-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Fix/simplify Index.parse() passing command line arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
a6a6499a904441fc9e82ba9dd4155b8bc33f38f9 24-Jan-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Move Cursor.is_ methods to CursorKind, and add test.

Also, add CursorKind.get_all_kinds().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94389 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
a33dca490ad55c6f4bfc38a911f41a66f508a482 24-Jan-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Convert CXString objects to regular Python strings below API.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
1b945a7455e17fd792ef3bd3790dc88beea5faad 24-Jan-2010 Daniel Dunbar <daniel@zuster.org> cindex/Python: Add TranslationUnit.cursor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_translation_unit.py
30c0f2637c4ba5d8764ff6e1ee6cbc89b89c63db 24-Jan-2010 Daniel Dunbar <daniel@zuster.org> Initial checkin of CIndex Python bindings, by Andrew Sutton!
- Some tweaks by me for API changes, Darwin, and x86_64 support. Still needs
substantial updating to match recent CIndex API changes.

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