| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [clang.py] Implement TypeKind.spelling | Gregory Szorc | 2012-04-15 | 2 | -1/+17 |
| | | | | | llvm-svn: 154769 | ||||
| * | [clang.py] Implement Cursor.objc_type_encoding | Gregory Szorc | 2012-03-10 | 2 | -0/+20 |
| | | | | | llvm-svn: 152513 | ||||
| * | [clang.py] Refactor get_tu and get_cursor test helper functions into util.py | Gregory Szorc | 2012-03-10 | 5 | -112/+130 |
| | | | | | llvm-svn: 152510 | ||||
| * | [clang.py] Return bool from Cursor.__eq__ | Gregory Szorc | 2012-03-05 | 1 | -2/+2 |
| | | | | | llvm-svn: 152011 | ||||
| * | [clang.py] Test Cursor.__ne__ | Gregory Szorc | 2012-02-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 151504 | ||||
| * | [clang.py] Format and add documention for Type | Gregory Szorc | 2012-02-20 | 2 | -11/+14 |
| | | | | | llvm-svn: 150972 | ||||
| * | [clang.py] Add tests for Type.is_volatile_qualified and ↵ | Gregory Szorc | 2012-02-20 | 1 | -2/+45 |
| | | | | | | | Type.is_restrict_qualified llvm-svn: 150971 | ||||
| * | [clang.py] Implement Type.argument_types() | Gregory Szorc | 2012-02-20 | 2 | -107/+183 |
| | | | | | llvm-svn: 150970 | ||||
| * | [clang.py] Implement Type.__eq__ and Type.__ne__ | Gregory Szorc | 2012-02-20 | 2 | -0/+38 |
| | | | | | llvm-svn: 150969 | ||||
| * | [clang.py] Implement Type.is_function_variadic | Gregory Szorc | 2012-02-19 | 2 | -18/+55 |
| | | | | | llvm-svn: 150936 | ||||
| * | [clang.py] Implement Type.element_count | Gregory Szorc | 2012-02-17 | 2 | -0/+40 |
| | | | | | llvm-svn: 150800 | ||||
| * | [clang.py] Implement Type.element_type | Gregory Szorc | 2012-02-17 | 2 | -1/+51 |
| | | | | | llvm-svn: 150799 | ||||
| * | [clang.py] Implement Type.is_pod | Gregory Szorc | 2012-02-05 | 2 | -0/+26 |
| | | | | | llvm-svn: 149842 | ||||
| * | [clang.py] Change type -> Type | Tobias Grosser | 2012-02-05 | 1 | -4/+3 |
| | | | | | | | | Names that have corresponding classes in python are commonly started with an uppercase letter. Let's follow that convention. llvm-svn: 149831 | ||||
| * | [clang.py] Implement Cursor.enum_type | Tobias Grosser | 2012-02-05 | 2 | -0/+33 |
| | | | | | | | Contributed by: Gregory Szorc <gregory.szorc@gmail.com> llvm-svn: 149830 | ||||
| * | [clang.py] Implement Cursor.underlying_typedef_type | Tobias Grosser | 2012-02-05 | 2 | -0/+33 |
| | | | | | | | Contributed by: Gregory Szorc <gregory.szorc@gmail.com> llvm-svn: 149829 | ||||
| * | [clang.py] add TypeKind.VECTOR | Tobias Grosser | 2012-02-05 | 1 | -0/+1 |
| | | | | | | | | | Added a missing enumeration. Contributed by: Gregory Szorc <gregory.szorc@gmail.com> llvm-svn: 149828 | ||||
| * | [clang.py] Add CursorKind.{is_translation_unit, is_preprocessing, is_unexposed} | Tobias Grosser | 2012-02-05 | 2 | -0/+33 |
| | | | | | | | Contributed by: Gregory Szorc <gregory.szorc@gmail.com> llvm-svn: 149827 | ||||
| * | [clang.py] Implement Cursor.hash | Tobias Grosser | 2012-02-05 | 2 | -0/+13 |
| | | | | | | | Contributed by: Gregory Szorc <gregory.szorc@gmail.com> llvm-svn: 149826 | ||||
| * | [clang.py] Expose diagnostic category and option info to Python binding | Tobias Grosser | 2012-02-05 | 2 | -3/+68 |
| | | | | | | | Contributed by: Gregory Szorc <gregory.szorc@gmail.com> llvm-svn: 149825 | ||||
| * | [clang.py] Implement __eq__ and __ne__ on SourceLocation and SourceRange | Tobias Grosser | 2012-02-05 | 2 | -1/+39 |
| | | | | | | | | | | | 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> llvm-svn: 149824 | ||||
| * | Add CXX_FINAL_ATTR, CXX_OVERRIDE_ATTR, ANNOTATE_ATTR and ASM_LABEL_ATTR to the | Rafael Espindola | 2011-12-30 | 1 | -0/+5 |
| | | | | | | | | python bindinds. patch by Tom Schuster! llvm-svn: 147378 | ||||
| * | Mass rename C1x references to C11. The name hasn't proliferated like "C++0x" ↵ | Benjamin Kramer | 2011-12-23 | 1 | -1/+1 |
| | | | | | | | | | so this patch is surprisingly small. Also drop -Wc1x-extensions in favor of -Wc11-extensions. I don't think we need to keep this around for compatibility. llvm-svn: 147221 | ||||
| * | cindex.py: Remove more ternary operator + whitespace fixes | Tobias Grosser | 2011-10-31 | 1 | -6/+11 |
| | | | | | | | | Another batch of ternary operators and some whitespace fixes (Getting in sync with the clang_complete version of this file) llvm-svn: 143330 | ||||
| * | clang.py: Remove use of ternary operators | Tobias Grosser | 2011-10-31 | 1 | -2/+9 |
| | | | | | | | This change is necessary to make this file python 2.4 compatible. llvm-svn: 143324 | ||||
| * | cindex.py: Allow to create a cursor from file/row/column | Tobias Grosser | 2011-10-31 | 2 | -1/+29 |
| | | | | | | | | We add a constructor to create a SourceLocation from a position in a file and we use this SourceLocation to retrieve a cursor. llvm-svn: 143322 | ||||
| * | cindex.py: Add File.create_from_name() | Tobias Grosser | 2011-10-31 | 2 | -0/+24 |
| | | | | | llvm-svn: 143321 | ||||
| * | Add support for constant arrays, from Anders Waldenborg!. | Douglas Gregor | 2011-10-19 | 2 | -0/+24 |
| | | | | | llvm-svn: 142477 | ||||
| * | Add TypeKind.CONSTANTARRAY, from Anders Waldenborg! | Douglas Gregor | 2011-10-19 | 2 | -1/+20 |
| | | | | | llvm-svn: 142476 | ||||
| * | Fix error message for unknown type kind, from Anders Waldenborg! | Douglas Gregor | 2011-10-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 142475 | ||||
| * | This new field was introduced in clang-c in r141277 | Douglas Gregor | 2011-10-19 | 1 | -1/+1 |
| | | | | | | | | Python needs this in its structure definition so it allocates enough memory. From Anders Waldenborg! llvm-svn: 142474 | ||||
| * | Expose more statement, expression, and declaration kinds in libclang, | Douglas Gregor | 2011-10-05 | 1 | -5/+262 |
| | | | | | | | from Manuel Holtgrewe! llvm-svn: 141200 | ||||
| * | Update python testcase for GNU old-style field designator warning, | Douglas Gregor | 2011-08-30 | 1 | -1/+1 |
| | | | | | | | from Anders Waldenborg! llvm-svn: 138786 | ||||
| * | Add support for Cursor.displayname in python bindings, from Anders Waldenborg! | Douglas Gregor | 2011-08-30 | 2 | -0/+13 |
| | | | | | llvm-svn: 138785 | ||||
| * | [python] Fix bug of the SourceLocation binding. | Argyrios Kyrtzidis | 2011-08-17 | 2 | -1/+51 |
| | | | | | | | Patch by Anders Waldenborg! llvm-svn: 137829 | ||||
| * | [python] Add test_type.py by Anders Waldenborg, which I forgot to commit in ↵ | Argyrios Kyrtzidis | 2011-08-17 | 1 | -0/+76 |
| | | | | | | | r137797. llvm-svn: 137828 | ||||
| * | [python] Add support for CXType to python bindings. | Argyrios Kyrtzidis | 2011-08-17 | 2 | -2/+210 |
| | | | | | | | Patch by Anders Waldenborg! llvm-svn: 137797 | ||||
| * | Improve the Python bindings for libclang in a few ways, from Eli | Douglas Gregor | 2011-07-06 | 3 | -12/+33 |
| | | | | | | | | | | | | | | | | | | 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 llvm-svn: 134460 | ||||
| * | python bindings: Add support for different kind of completion chunks | Tobias Grosser | 2011-02-05 | 1 | -6/+81 |
| | | | | | llvm-svn: 124959 | ||||
| * | python bindings: Get the string representation of a CompletionChunk | Tobias Grosser | 2011-02-05 | 1 | -9/+84 |
| | | | | | llvm-svn: 124958 | ||||
| * | python bindings: Add CodeCompletionResults | Tobias Grosser | 2011-02-05 | 1 | -1/+94 |
| | | | | | llvm-svn: 124957 | ||||
| * | python bindings: Add support for translationUnit.reparse(). | Tobias Grosser | 2011-02-05 | 2 | -6/+47 |
| | | | | | | | | | 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. llvm-svn: 124956 | ||||
| * | python bindings: Include local headers the right way. | Tobias Grosser | 2011-02-05 | 1 | -4/+3 |
| | | | | | llvm-svn: 124955 | ||||
| * | python bindings: Remove unneeded instruction | Tobias Grosser | 2011-02-05 | 1 | -2/+0 |
| | | | | | llvm-svn: 124954 | ||||
| * | python bindings: fix Diagnostics.range iterator | Tobias Grosser | 2011-02-05 | 2 | -0/+25 |
| | | | | | | | | The iterator did never throw an IndexError. It was therefore not possible to use it in a normal foreach loop as that loop would never stop. llvm-svn: 124953 | ||||
| * | python bindings: Use python Diagnostics as function arguments | Tobias Grosser | 2011-02-05 | 1 | -14/+17 |
| | | | | | | | | | | | | | This improves the readability of the code and fixes one testsuite bug. The bug happend, because we only stored the pointer to the diagnostic in the FixIt iterator, but not the python Diagnostic object. So it could happen that the FixIt iterator still exists, but the python Diagnostic object is freed. However, as the python Diagnostic is freed the pointer to the diagnostic is also freed and the FixIt iterator is referencing a freed pointer. llvm-svn: 124952 | ||||
| * | python bindings: Synchronize cursor kinds | Tobias Grosser | 2011-02-05 | 1 | -0/+89 |
| | | | | | | | | clang-c/Index.h contained cursor kinds not yet available in the python bindings. Contributed-By: jmuizelaar@mozilla.com llvm-svn: 124951 | ||||
| * | Rename 'CIndex' to 'libclang', since it has basically become our stable public | Daniel Dunbar | 2010-04-30 | 2 | -6/+5 |
| | | | | | | | (C) API, and will likely grow further in this direction in the future. llvm-svn: 102779 | ||||
| * | Rename the new Iterator objects and raise an assertion instead of returning ↵ | Benjamin Kramer | 2010-03-06 | 1 | -10/+12 |
| | | | | | | | invalid objects when the key is out of range. llvm-svn: 97881 | ||||
| * | Update the python bindings for recent changes in the CIndex API. | Benjamin Kramer | 2010-03-06 | 1 | -88/+88 |
| | | | | | llvm-svn: 97880 | ||||

