Argyrios Kyrtzidis
							
						 
						
							 
							
							
							
							
								
							
							
								f872dc4c3b 
								
							 
						 
						
							
							
								
								[python] Add support for CXType to python bindings.  
							
							 
							
							... 
							
							
							
							Patch by Anders Waldenborg!
llvm-svn: 137797 
							
						 
						
							2011-08-17 00:43:03 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								a98034a25e 
								
							 
						 
						
							
							
								
								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
llvm-svn: 134460 
							
						 
						
							2011-07-06 03:00:34 +00:00  
						
					 
				
					
						
							
							
								 
								Tobias Grosser
							
						 
						
							 
							
							
							
							
								
							
							
								2a8aac5ff4 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 124956 
							
						 
						
							2011-02-05 17:54:00 +00:00  
						
					 
				
					
						
							
							
								 
								Tobias Grosser
							
						 
						
							 
							
							
							
							
								
							
							
								4748651060 
								
							 
						 
						
							
							
								
								python bindings: Include local headers the right way.  
							
							 
							
							... 
							
							
							
							llvm-svn: 124955 
							
						 
						
							2011-02-05 17:53:55 +00:00  
						
					 
				
					
						
							
							
								 
								Tobias Grosser
							
						 
						
							 
							
							
							
							
								
							
							
								0e19c192f5 
								
							 
						 
						
							
							
								
								python bindings: Remove unneeded instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 124954 
							
						 
						
							2011-02-05 17:53:53 +00:00  
						
					 
				
					
						
							
							
								 
								Tobias Grosser
							
						 
						
							 
							
							
							
							
								
							
							
								5153e79931 
								
							 
						 
						
							
							
								
								python bindings: fix Diagnostics.range iterator  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2011-02-05 17:53:51 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								02968e53cf 
								
							 
						 
						
							
							
								
								CIndex: Switch CXSourceRange to proper half-open intervals.  
							
							 
							
							... 
							
							
							
							- Doug, please review.
llvm-svn: 96162 
							
						 
						
							2010-02-14 10:02:57 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								43813bf023 
								
							 
						 
						
							
							
								
								cindex/Python: Add TranslationUnit.get_includes, patch by Andrew Sutton!  
							
							 
							
							... 
							
							
							
							llvm-svn: 96106 
							
						 
						
							2010-02-13 18:33:18 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								a7a354e3e3 
								
							 
						 
						
							
							
								
								cindex/Python: Add full support for Diagnostic and FixIt objects, available 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 
							
						 
						
							2010-01-30 23:59:02 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								1e079a48ad 
								
							 
						 
						
							
							
								
								cindex/Python: Update Index.create for removal of displayDiagnostics.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94931 
							
						 
						
							2010-01-30 23:58:39 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								dacede8349 
								
							 
						 
						
							
							
								
								cindex/Python: Support file objects as unsaved_files, albeit inefficiently.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94418 
							
						 
						
							2010-01-25 09:16:41 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								90986f5d3f 
								
							 
						 
						
							
							
								
								cindex/Python: Add Cursor test.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94397 
							
						 
						
							2010-01-25 00:44:21 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								9ad194dc18 
								
							 
						 
						
							
							
								
								cindex/Python: Implement support for unsaved/remapped files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94396 
							
						 
						
							2010-01-25 00:44:11 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								7baaee93e7 
								
							 
						 
						
							
							
								
								cindex/Python: Fix/simplify Index.parse() passing command line arguments.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94394 
							
						 
						
							2010-01-25 00:43:31 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								3e555fd85f 
								
							 
						 
						
							
							
								
								cindex/Python: Move Cursor.is_ methods to CursorKind, and add test.  
							
							 
							
							... 
							
							
							
							Also, add CursorKind.get_all_kinds().
llvm-svn: 94389 
							
						 
						
							2010-01-24 21:20:39 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								942453284f 
								
							 
						 
						
							
							
								
								cindex/Python: Convert CXString objects to regular Python strings below API.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94384 
							
						 
						
							2010-01-24 21:19:57 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								e79aba4c72 
								
							 
						 
						
							
							
								
								cindex/Python: Add TranslationUnit.cursor.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94355 
							
						 
						
							2010-01-24 04:09:43 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								74716e5ebd 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 94349 
							
						 
						
							2010-01-24 02:02:07 +00:00