summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test
Commit message (Collapse)AuthorAgeFilesLines
...
* Keep track of whether declararions were loaded from a precompiledDouglas Gregor2009-10-161-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 Naroff2009-10-151-0/+2
| | | | llvm-svn: 84208
* Make sure that c-index-test links as a C++ executableDouglas Gregor2009-10-051-0/+5
| | | | llvm-svn: 83335
* Fix C90 compile warning about mixed declarations and code.Eric Christopher2009-10-051-9/+10
| | | | llvm-svn: 83327
* Add support for class and protocol references.Steve Naroff2009-10-011-6/+4
| | | | llvm-svn: 83186
* Add clang_getDeclLine and clang_getDeclColumnSteve Naroff2009-09-251-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 Naroff2009-09-241-14/+17
| | | | llvm-svn: 82706
* Some minor cleanups...Steve Naroff2009-09-231-41/+41
| | | | llvm-svn: 82646
* More work to enable more exhaustive testing of the indexing API.Steve Naroff2009-09-231-0/+26
| | | | | | Next step: Add actual some test cases:-) llvm-svn: 82636
* - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵Steve Naroff2009-09-151-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 Naroff2009-09-111-5/+5
| | | | | | valid location. llvm-svn: 81487
* Implement accessors clang_getCursorKind(), clang_getCursorDecl().Steve Naroff2009-09-041-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 Naroff2009-09-031-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 localDaniel Dunbar2009-09-031-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 Naroff2009-09-031-12/+14
| | | | | | | | variables. Add clang_getTranslationUnitSpelling(). llvm-svn: 80859
* Fix warnings.Eli Friedman2009-09-021-2/+0
| | | | llvm-svn: 80833
* Start issuing callback for references (add some predicates, refactor some code).Steve Naroff2009-09-021-4/+4
| | | | llvm-svn: 80810
* Flesh out CXCursorKind...Steve Naroff2009-09-021-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 Naroff2009-09-011-7/+14
| | | | | | blocks). llvm-svn: 80673
* Implement source/line/column hooks.Steve Naroff2009-08-311-3/+7
| | | | llvm-svn: 80585
* More fleshing out the C-based indexing API (under construction).Steve Naroff2009-08-311-1/+8
| | | | llvm-svn: 80529
* Lot's of little changes to get the C-based indexing API going...Steve Naroff2009-08-283-0/+56
Work in progress. llvm-svn: 80367
OpenPOWER on IntegriCloud