Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [cindex.py] Dispose code completion results properly | Tobias Grosser | 2012-08-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 162181 | |||||
* | [clang.py] Implement Token API | Gregory Szorc | 2012-07-12 | 6 | -16/+345 | |
| | | | | llvm-svn: 160111 | |||||
* | [clang.py] Add TranslationUnit.get_{file,source_location,source_range} | Gregory Szorc | 2012-07-12 | 2 | -0/+127 | |
| | | | | llvm-svn: 160107 | |||||
* | [clang.py] Refactor how ctypes functions are registered | Gregory Szorc | 2012-07-12 | 1 | -589/+569 | |
| | | | | llvm-svn: 160106 | |||||
* | [cindex.py] Make CompileCommand.arguments usage consistent with ↵ | Arnaud A. de Grandmaison | 2012-07-10 | 2 | -3/+5 | |
| | | | | | | | | CompileCommand.directory and the rest of the python binding Patch by David Röthlisberger llvm-svn: 159970 | |||||
* | [cindex.py] fix infinite iteration of compilation database CompileCommands | Arnaud A. de Grandmaison | 2012-07-09 | 2 | -1/+9 | |
| | | | | | | Patch by David Röthlisberger llvm-svn: 159926 | |||||
* | [cindex.py] Fix erroneous comment for CompileCommands | Arnaud A. de Grandmaison | 2012-07-06 | 1 | -3/+1 | |
| | | | | llvm-svn: 159810 | |||||
* | [libclang] CompilationDatabase naming and comment fixes | Arnaud A. de Grandmaison | 2012-07-03 | 1 | -9/+9 | |
| | | | | llvm-svn: 159682 | |||||
* | [cindex.py] Fix comments | Arnaud A. de Grandmaison | 2012-06-30 | 2 | -2/+2 | |
| | | | | llvm-svn: 159492 | |||||
* | [cindex.py] add CompilationDatabase support | Arnaud A. de Grandmaison | 2012-06-30 | 3 | -0/+251 | |
| | | | | llvm-svn: 159485 | |||||
* | [clang.py] Implement SourceLocation.from_offset | Gregory Szorc | 2012-06-11 | 2 | -0/+23 | |
| | | | | llvm-svn: 158307 | |||||
* | [clang.py] Implement Cursor.is_static_method | Gregory Szorc | 2012-06-09 | 2 | -0/+26 | |
| | | | | llvm-svn: 158277 | |||||
* | Fix typo "CursorKind.CONDITONAL_OPERATOR" in Python bindings, from | Douglas Gregor | 2012-06-08 | 1 | -1/+1 | |
| | | | | | | Manish Verma! llvm-svn: 158182 | |||||
* | [clang.py] Store reference to TranslationUnit in Cursor and Type | Gregory Szorc | 2012-05-15 | 3 | -1/+96 | |
| | | | | llvm-svn: 156846 | |||||
* | [clang.py] Implement Cursor.canonical | Gregory Szorc | 2012-05-14 | 2 | -0/+31 | |
| | | | | llvm-svn: 156753 | |||||
* | [clang.py] Implement Cursor.result_type | Gregory Szorc | 2012-05-14 | 2 | -0/+16 | |
| | | | | llvm-svn: 156752 | |||||
* | [clang.py] Followup to TranslationUnit refactor | Gregory Szorc | 2012-05-12 | 1 | -2/+5 | |
| | | | | | | | | | * Document index argument in TranslationUnit.from_source * Add numeric error code to TranslationUnitSaveError string representation * Use None instead of [] for default argument value in TranslationUnit.codeComplete llvm-svn: 156722 | |||||
* | [clang.py] Remove trailing whitespace from recent commits | Gregory Szorc | 2012-05-08 | 2 | -6/+6 | |
| | | | | llvm-svn: 156373 | |||||
* | [clang.py] TranslationUnit API improvements | Gregory Szorc | 2012-05-08 | 3 | -63/+325 | |
| | | | | | | | | | | | | | | | | | * TranslationUnit reading and parsing now implemented as TranslationUnit.from_ast() and TranslationUnit.from_source(). * Index.parse() and Index.read() implemented through above. * Index.parse() and Index.read() now raise a TanslationUnitLoadException instead of returning None if a TranslationUnit could not be instantiated. This is backwards incompatible. * Ability to save TranslationUnits via TranslationUnit.save(). * TranslationUnit now holds onto Index instance that created. This means the Index can't be GC'd until the TranslationUnit is itself GC'd, making memory management thoughtless. * Don't use [] as a default argument value, as the initial value used is reused for the duration of the program. llvm-svn: 156372 | |||||
* | - Adding lexical_parent and semantic_parent properties to clang.cindex.Cursor | Manuel Klimek | 2012-05-07 | 3 | -0/+80 | |
| | | | | | | | | | - 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. llvm-svn: 156286 | |||||
* | [python] Add testcase for annotation cursor | Anders Waldenborg | 2012-05-02 | 1 | -0/+12 | |
| | | | | llvm-svn: 156022 | |||||
* | [python] Add Cursor.enum_value wrapping clang_getEnumConstantDeclValue | Anders Waldenborg | 2012-05-02 | 2 | -0/+69 | |
| | | | | llvm-svn: 156017 | |||||
* | [python] Add testcase for enum with specified underlaying type | Anders Waldenborg | 2012-05-02 | 1 | -0/+8 | |
| | | | | llvm-svn: 156009 | |||||
* | [python] Run tests for c++ with std=c++11 | Anders Waldenborg | 2012-05-02 | 1 | -2/+3 | |
| | | | | llvm-svn: 156008 | |||||
* | [python] Fix warning in c-code inside testcase | Anders Waldenborg | 2012-05-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 156007 | |||||
* | [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 |