Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | cindex/Python: Add a simple example which dumps assorted information about a ↵ | Daniel Dunbar | 2010-01-30 | 1 | -0/+72 | |
| | | | | | | translation unit. llvm-svn: 94934 | |||||
* | cindex/Python: Add full support for Diagnostic and FixIt objects, available ↵ | Daniel Dunbar | 2010-01-30 | 2 | -11/+228 | |
| | | | | | | | | | | via TranslationUnit.diagnostics. Several important FIXMEs remain: - We aren't getting all the notes? - There is still no way to get diagnostics for invalid inputs. llvm-svn: 94933 | |||||
* | cindex/Python: Update SourceLocation and SourceRange structures to match API ↵ | Daniel Dunbar | 2010-01-30 | 1 | -2/+2 | |
| | | | | | | | | changes. Hurray for exposing implementation details!!! llvm-svn: 94932 | |||||
* | cindex/Python: Update Index.create for removal of displayDiagnostics. | Daniel Dunbar | 2010-01-30 | 2 | -5/+4 | |
| | | | | llvm-svn: 94931 | |||||
* | cindex/Python: Update to support _getInstantiationLocation's new offset value. | Daniel Dunbar | 2010-01-29 | 1 | -4/+10 | |
| | | | | llvm-svn: 94813 | |||||
* | cindex/Python: Move translation unit load functions to Index, there isn't a ↵ | Daniel Dunbar | 2010-01-25 | 1 | -35/+22 | |
| | | | | | | good reason to have separate static methods for this. llvm-svn: 94419 | |||||
* | cindex/Python: Support file objects as unsaved_files, albeit inefficiently. | Daniel Dunbar | 2010-01-25 | 2 | -2/+15 | |
| | | | | llvm-svn: 94418 | |||||
* | cindex/Python: Add Cursor test. | Daniel Dunbar | 2010-01-25 | 1 | -0/+59 | |
| | | | | llvm-svn: 94397 | |||||
* | cindex/Python: Implement support for unsaved/remapped files. | Daniel Dunbar | 2010-01-25 | 2 | -3/+35 | |
| | | | | llvm-svn: 94396 | |||||
* | cindex/Python: Fix/simplify Index.parse() passing command line arguments. | Daniel Dunbar | 2010-01-25 | 3 | -37/+20 | |
| | | | | llvm-svn: 94394 | |||||
* | cindex/Python: Update comments, add module docstrings, add LLVM headers. | Daniel Dunbar | 2010-01-25 | 2 | -4/+90 | |
| | | | | llvm-svn: 94392 | |||||
* | cindex/Python: Move Cursor.is_ methods to CursorKind, and add test. | Daniel Dunbar | 2010-01-24 | 3 | -53/+88 | |
| | | | | | | Also, add CursorKind.get_all_kinds(). llvm-svn: 94389 | |||||
* | cindex/Python: Implement explicit objects for CursorKind enumeration values. | Daniel Dunbar | 2010-01-24 | 1 | -12/+183 | |
| | | | | llvm-svn: 94388 | |||||
* | cindex/Python: Fetch SourceLocation instantiation location information on ↵ | Daniel Dunbar | 2010-01-24 | 1 | -12/+29 | |
| | | | | | | | | lazily, it isn't free. Also, add repr() support to SourceRange. llvm-svn: 94387 | |||||
* | cindex/Python: Add Cursor.get_usr(). | Daniel Dunbar | 2010-01-24 | 1 | -3/+17 | |
| | | | | | | Also, change Cursor.spelling to return None for non-decls, for consistency with get_usr(). llvm-svn: 94386 | |||||
* | cindex/Python: Return null cursors as None instead of exposing this notion. | Daniel Dunbar | 2010-01-24 | 1 | -6/+15 | |
| | | | | llvm-svn: 94385 | |||||
* | cindex/Python: Convert CXString objects to regular Python strings below API. | Daniel Dunbar | 2010-01-24 | 2 | -18/+19 | |
| | | | | llvm-svn: 94384 | |||||
* | Simplify. | Daniel Dunbar | 2010-01-24 | 1 | -16/+11 | |
| | | | | llvm-svn: 94383 | |||||
* | cindex/Python: Remove Cursor.file forwarding method, this doesn't really fit ↵ | Daniel Dunbar | 2010-01-24 | 1 | -8/+0 | |
| | | | | | | the API. llvm-svn: 94382 | |||||
* | cindex/Python: Add Cursor.get_children() | Daniel Dunbar | 2010-01-24 | 1 | -3/+18 | |
| | | | | llvm-svn: 94359 | |||||
* | cindex/Python: Remove Declaration class, this has been removed from the API. | Daniel Dunbar | 2010-01-24 | 1 | -50/+1 | |
| | | | | llvm-svn: 94358 | |||||
* | cindex/Python: Eliminate Entity class, it has been removed from CIndex. | Daniel Dunbar | 2010-01-24 | 1 | -18/+2 | |
| | | | | llvm-svn: 94357 | |||||
* | Simplify. | Daniel Dunbar | 2010-01-24 | 1 | -9/+3 | |
| | | | | llvm-svn: 94356 | |||||
* | cindex/Python: Add TranslationUnit.cursor. | Daniel Dunbar | 2010-01-24 | 2 | -5/+17 | |
| | | | | llvm-svn: 94355 | |||||
* | cindex/Python: Tweak Source{Location,Range} | Daniel Dunbar | 2010-01-24 | 1 | -18/+21 | |
| | | | | | | | | | | | - Add __repr__ on SourceLocation. - Fix File object construction to use c_object_p type, and use None instead of invalid File objects. - Make SourceRange.{start,end} properties. llvm-svn: 94354 | |||||
* | cindex/Python: Make Cursor.is_... functions not properties. | Daniel Dunbar | 2010-01-24 | 1 | -8/+4 | |
| | | | | | | Also, add ValueError check before calling Cursor_spelling. llvm-svn: 94353 | |||||
* | Initial checkin of CIndex Python bindings, by Andrew Sutton! | Daniel Dunbar | 2010-01-24 | 8 | -0/+573 | |
- Some tweaks by me for API changes, Darwin, and x86_64 support. Still needs substantial updating to match recent CIndex API changes. llvm-svn: 94349 |