1f1988fe75f27548459cabee2ea6162cbfd9add2 |
|
10-Mar-2012 |
Gregory Szorc <gregory.szorc@gmail.com> |
[clang.py] Refactor get_tu and get_cursor test helper functions into util.py git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_location.py
|
74858335a1a5205b3e1c89ecf9221cea839c0b0b |
|
05-Feb-2012 |
Tobias Grosser <grosser@fim.uni-passau.de> |
[clang.py] Implement __eq__ and __ne__ on SourceLocation and SourceRange There is no type checking in __eq__, so ctypes will throw if the wrong Python type is passed in to the C function. Personally, I feel garbage in means garbage out and it isn't worth testing for this explicitly. Contributed by: Gregory Szorc <gregory.szorc@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149824 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_location.py
|
58ba8c9f182c94553c8871086bf68e336a14a527 |
|
31-Oct-2011 |
Tobias Grosser <grosser@fim.uni-passau.de> |
cindex.py: Allow to create a cursor from file/row/column We add a constructor to create a SourceLocation from a position in a file and we use this SourceLocation to retrieve a cursor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_location.py
|
6b04623bcc64a5091a47fb18cd40af5e93b773ad |
|
17-Aug-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[python] Fix bug of the SourceLocation binding. Patch by Anders Waldenborg! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/bindings/python/tests/cindex/test_location.py
|