Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Keep track of whether declararions were loaded from a precompiled | Douglas Gregor | 2009-10-16 | 1 | -1/+7 | |
| | | | | | | | | | | header or not via a new "PCHLevel" field in Decl. We currently use this information to help CIndex filter out declarations that came from a precompiled header (rather than from an AST file). Further down the road, it can be used to help implement multi-level precompiled headers. llvm-svn: 84267 | |||||
* | Make sure temporary files get unlinked. | Steve Naroff | 2009-10-15 | 1 | -0/+2 | |
| | | | | llvm-svn: 84208 | |||||
* | Make sure that c-index-test links as a C++ executable | Douglas Gregor | 2009-10-05 | 1 | -0/+5 | |
| | | | | llvm-svn: 83335 | |||||
* | Fix C90 compile warning about mixed declarations and code. | Eric Christopher | 2009-10-05 | 1 | -9/+10 | |
| | | | | llvm-svn: 83327 | |||||
* | Add support for class and protocol references. | Steve Naroff | 2009-10-01 | 1 | -6/+4 | |
| | | | | llvm-svn: 83186 | |||||
* | Add clang_getDeclLine and clang_getDeclColumn | Steve Naroff | 2009-09-25 | 1 | -1/+8 | |
| | | | | | | | 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 | |||||
* | Add test for C-based indexing API, using FileCheck utility. | Steve Naroff | 2009-09-24 | 1 | -14/+17 | |
| | | | | llvm-svn: 82706 | |||||
* | Some minor cleanups... | Steve Naroff | 2009-09-23 | 1 | -41/+41 | |
| | | | | llvm-svn: 82646 | |||||
* | More work to enable more exhaustive testing of the indexing API. | Steve Naroff | 2009-09-23 | 1 | -0/+26 | |
| | | | | | | Next step: Add actual some test cases:-) llvm-svn: 82636 | |||||
* | - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵ | Steve Naroff | 2009-09-15 | 1 | -3/+8 | |
| | | | | | | | | | CXCursor_NoDeclFound). - Add predicate clang_isInvalid(). - Implement clang_getCursorFromDecl(). llvm-svn: 81908 | |||||
* | Make sure ObjCInterfaceDecl's that are forward declared always contain a ↵ | Steve Naroff | 2009-09-11 | 1 | -5/+5 | |
| | | | | | | valid location. llvm-svn: 81487 | |||||
* | Implement accessors clang_getCursorKind(), clang_getCursorDecl(). | Steve Naroff | 2009-09-04 | 1 | -4/+13 | |
| | | | | | | | Implement clang_getCursor() - wired up to Argiris's work. Implement callbacks for CXCursor_ObjCProtocolRef. llvm-svn: 81004 | |||||
* | - Add back some harmless code that part of a reverted commit (r80859). I'll ↵ | Steve Naroff | 2009-09-03 | 1 | -11/+29 | |
| | | | | | | | | 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 | 1 | -14/+12 | |
| | | | | | | 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 | 1 | -12/+14 | |
| | | | | | | | | variables. Add clang_getTranslationUnitSpelling(). llvm-svn: 80859 | |||||
* | Fix warnings. | Eli Friedman | 2009-09-02 | 1 | -2/+0 | |
| | | | | llvm-svn: 80833 | |||||
* | Start issuing callback for references (add some predicates, refactor some code). | Steve Naroff | 2009-09-02 | 1 | -4/+4 | |
| | | | | llvm-svn: 80810 | |||||
* | Flesh out CXCursorKind... | Steve Naroff | 2009-09-02 | 1 | -13/+24 | |
| | | | | | | | | | - 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 | -7/+14 | |
| | | | | | | blocks). llvm-svn: 80673 | |||||
* | Implement source/line/column hooks. | Steve Naroff | 2009-08-31 | 1 | -3/+7 | |
| | | | | llvm-svn: 80585 | |||||
* | More fleshing out the C-based indexing API (under construction). | Steve Naroff | 2009-08-31 | 1 | -1/+8 | |
| | | | | llvm-svn: 80529 | |||||
* | Lot's of little changes to get the C-based indexing API going... | Steve Naroff | 2009-08-28 | 3 | -0/+56 | |
Work in progress. llvm-svn: 80367 |