Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Modify ASTLocation and apart from being a Decl or Stmt, allow it to also be: | Argyrios Kyrtzidis | 2009-09-29 | 1 | -2/+2 | |
| | | | | | | | -A NamedDecl reference -A TypeLoc llvm-svn: 83095 | |||||
* | Fix cut/paste error resulting in bad column info. | Steve Naroff | 2009-09-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 82810 | |||||
* | Add clang_getDeclSource(). | Steve Naroff | 2009-09-25 | 2 | -0/+9 | |
| | | | | llvm-svn: 82807 | |||||
* | Add clang_getDeclLine and clang_getDeclColumn | Steve Naroff | 2009-09-25 | 2 | -1/+46 | |
| | | | | | | | Fix clang_getCursorDecl to do the right thing for expr refs Fixup test file to accommodate new output (which includes the line/column for the referenced decl) llvm-svn: 82798 | |||||
* | CMake build support for libCIndex and c-index-test. The indexing tests | Douglas Gregor | 2009-09-25 | 1 | -0/+23 | |
| | | | | | | are now running properly from within CMake. llvm-svn: 82755 | |||||
* | More work to enable more exhaustive testing of the indexing API. | Steve Naroff | 2009-09-23 | 2 | -10/+58 | |
| | | | | | | Next step: Add actual some test cases:-) llvm-svn: 82636 | |||||
* | - Implement support for various types of "refs" (initially to help test ↵ | Steve Naroff | 2009-09-22 | 1 | -6/+90 | |
| | | | | | | | | clang_getCursor()). - Add missing prototypes for dispose functions. llvm-svn: 82564 | |||||
* | Change ASTUnit to take the Diagnostic as an argument, the client should have ↵ | Daniel Dunbar | 2009-09-21 | 1 | -1/+2 | |
| | | | | | | control of this. llvm-svn: 82430 | |||||
* | Add Diagnostic to Indexer, and have it keep its own FileManager instead of ↵ | Daniel Dunbar | 2009-09-21 | 1 | -1/+2 | |
| | | | | | | taking an external reference (which was leaked in the case of the CIndex library). llvm-svn: 82429 | |||||
* | Add clang_disposeTranslationUnit() and clang_disposeIndex(). | Steve Naroff | 2009-09-17 | 2 | -0/+15 | |
| | | | | llvm-svn: 82154 | |||||
* | - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵ | Steve Naroff | 2009-09-15 | 2 | -10/+28 | |
| | | | | | | | | | CXCursor_NoDeclFound). - Add predicate clang_isInvalid(). - Implement clang_getCursorFromDecl(). llvm-svn: 81908 | |||||
* | Implement accessors clang_getCursorKind(), clang_getCursorDecl(). | Steve Naroff | 2009-09-04 | 1 | -17/+94 | |
| | | | | | | | Implement clang_getCursor() - wired up to Argiris's work. Implement callbacks for CXCursor_ObjCProtocolRef. llvm-svn: 81004 | |||||
* | Add ASTUnit::getOriginalSourceFileName() and use in ↵ | Steve Naroff | 2009-09-03 | 1 | -3/+2 | |
| | | | | | | clang_getTranslationUnitSpelling(). llvm-svn: 80932 | |||||
* | - Add back some harmless code that part of a reverted commit (r80859). I'll ↵ | Steve Naroff | 2009-09-03 | 2 | -2/+41 | |
| | | | | | | | | investigate the lifetime snafu (with ASTUnit) separately. - Traverse category methods, add a "class ref" and make the little test harness a bit more flexible. llvm-svn: 80921 | |||||
* | Revert "Visit function/method bodies and issue callback for parameters and local | Daniel Dunbar | 2009-09-03 | 2 | -25/+1 | |
| | | | | | | variables.", this is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80896 | |||||
* | Visit function/method bodies and issue callback for parameters and local ↵ | Steve Naroff | 2009-09-03 | 2 | -1/+25 | |
| | | | | | | | | variables. Add clang_getTranslationUnitSpelling(). llvm-svn: 80859 | |||||
* | Fix some newly added bugs uncovered by the RELEASE build. | Steve Naroff | 2009-09-02 | 1 | -8/+9 | |
| | | | | llvm-svn: 80813 | |||||
* | Start issuing callback for references (add some predicates, refactor some code). | Steve Naroff | 2009-09-02 | 2 | -14/+69 | |
| | | | | llvm-svn: 80810 | |||||
* | Flesh out CXCursorKind... | Steve Naroff | 2009-09-02 | 1 | -11/+88 | |
| | | | | | | | | | - More declaration types (distinguish between struct/union/class, instance/class methods). - Add definition types (class, category, function, instance/class method, etc.). Add client data to clang_loadDeclaration() and implement. llvm-svn: 80787 | |||||
* | Add explicit "blind" client data to callback function (since we aren't using ↵ | Steve Naroff | 2009-09-01 | 1 | -17/+19 | |
| | | | | | | blocks). llvm-svn: 80673 | |||||
* | Implement source/line/column hooks. | Steve Naroff | 2009-08-31 | 1 | -11/+34 | |
| | | | | llvm-svn: 80585 | |||||
* | More fleshing out the C-based indexing API (under construction). | Steve Naroff | 2009-08-31 | 2 | -28/+103 | |
| | | | | llvm-svn: 80529 | |||||
* | gcc 4.4 needs cstdio for printf. Reorder includes while at it. | Benjamin Kramer | 2009-08-29 | 1 | -6/+3 | |
| | | | | llvm-svn: 80430 | |||||
* | Add CIndex dependencies: libLLVMC and libclangSema (for IdentifierResolver). | Ted Kremenek | 2009-08-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 80385 | |||||
* | Tweak CIndex file to resolve to linking issues with the clang libraries. In | Ted Kremenek | 2009-08-28 | 1 | -2/+2 | |
| | | | | | | particular, clangFrontend was not being linked in. llvm-svn: 80384 | |||||
* | Hide IdxVisitor and remove unimplemented method (causing link errors on x86_64 | Daniel Dunbar | 2009-08-28 | 1 | -2/+4 | |
| | | | | | | linux builder). llvm-svn: 80376 | |||||
* | Lot's of little changes to get the C-based indexing API going... | Steve Naroff | 2009-08-28 | 2 | -9/+44 | |
| | | | | | | Work in progress. llvm-svn: 80367 | |||||
* | Add CX prefix to Cursor and move a comment. | Steve Naroff | 2009-08-28 | 1 | -15/+18 | |
| | | | | llvm-svn: 80359 | |||||
* | Update exports list. | Ted Kremenek | 2009-08-27 | 1 | -1/+17 | |
| | | | | llvm-svn: 80306 | |||||
* | Fill in Index.h header file and add stubs to implementation file. | Steve Naroff | 2009-08-27 | 1 | -1/+104 | |
| | | | | llvm-svn: 80279 | |||||
* | Add initial boilerplate for CIndex, a shared library that will vend high-level | Ted Kremenek | 2009-08-26 | 3 | -0/+72 | |
source symbol information (harvested by Clang) through a C API. llvm-svn: 80166 |