summaryrefslogtreecommitdiffstats
path: root/clang/tools/CIndex
Commit message (Collapse)AuthorAgeFilesLines
...
* Modify ASTLocation and apart from being a Decl or Stmt, allow it to also be:Argyrios Kyrtzidis2009-09-291-2/+2
| | | | | | | -A NamedDecl reference -A TypeLoc llvm-svn: 83095
* Fix cut/paste error resulting in bad column info.Steve Naroff2009-09-251-1/+1
| | | | llvm-svn: 82810
* Add clang_getDeclSource().Steve Naroff2009-09-252-0/+9
| | | | llvm-svn: 82807
* Add clang_getDeclLine and clang_getDeclColumnSteve Naroff2009-09-252-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 testsDouglas Gregor2009-09-251-0/+23
| | | | | | are now running properly from within CMake. llvm-svn: 82755
* More work to enable more exhaustive testing of the indexing API.Steve Naroff2009-09-232-10/+58
| | | | | | Next step: Add actual some test cases:-) llvm-svn: 82636
* - Implement support for various types of "refs" (initially to help test ↵Steve Naroff2009-09-221-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 Dunbar2009-09-211-1/+2
| | | | | | control of this. llvm-svn: 82430
* Add Diagnostic to Indexer, and have it keep its own FileManager instead of ↵Daniel Dunbar2009-09-211-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 Naroff2009-09-172-0/+15
| | | | llvm-svn: 82154
* - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵Steve Naroff2009-09-152-10/+28
| | | | | | | | | CXCursor_NoDeclFound). - Add predicate clang_isInvalid(). - Implement clang_getCursorFromDecl(). llvm-svn: 81908
* Implement accessors clang_getCursorKind(), clang_getCursorDecl().Steve Naroff2009-09-041-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 Naroff2009-09-031-3/+2
| | | | | | clang_getTranslationUnitSpelling(). llvm-svn: 80932
* - Add back some harmless code that part of a reverted commit (r80859). I'll ↵Steve Naroff2009-09-032-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 localDaniel Dunbar2009-09-032-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 Naroff2009-09-032-1/+25
| | | | | | | | variables. Add clang_getTranslationUnitSpelling(). llvm-svn: 80859
* Fix some newly added bugs uncovered by the RELEASE build.Steve Naroff2009-09-021-8/+9
| | | | llvm-svn: 80813
* Start issuing callback for references (add some predicates, refactor some code).Steve Naroff2009-09-022-14/+69
| | | | llvm-svn: 80810
* Flesh out CXCursorKind...Steve Naroff2009-09-021-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 Naroff2009-09-011-17/+19
| | | | | | blocks). llvm-svn: 80673
* Implement source/line/column hooks.Steve Naroff2009-08-311-11/+34
| | | | llvm-svn: 80585
* More fleshing out the C-based indexing API (under construction).Steve Naroff2009-08-312-28/+103
| | | | llvm-svn: 80529
* gcc 4.4 needs cstdio for printf. Reorder includes while at it.Benjamin Kramer2009-08-291-6/+3
| | | | llvm-svn: 80430
* Add CIndex dependencies: libLLVMC and libclangSema (for IdentifierResolver).Ted Kremenek2009-08-281-2/+2
| | | | llvm-svn: 80385
* Tweak CIndex file to resolve to linking issues with the clang libraries. InTed Kremenek2009-08-281-2/+2
| | | | | | particular, clangFrontend was not being linked in. llvm-svn: 80384
* Hide IdxVisitor and remove unimplemented method (causing link errors on x86_64Daniel Dunbar2009-08-281-2/+4
| | | | | | linux builder). llvm-svn: 80376
* Lot's of little changes to get the C-based indexing API going...Steve Naroff2009-08-282-9/+44
| | | | | | Work in progress. llvm-svn: 80367
* Add CX prefix to Cursor and move a comment.Steve Naroff2009-08-281-15/+18
| | | | llvm-svn: 80359
* Update exports list.Ted Kremenek2009-08-271-1/+17
| | | | llvm-svn: 80306
* Fill in Index.h header file and add stubs to implementation file.Steve Naroff2009-08-271-1/+104
| | | | llvm-svn: 80279
* Add initial boilerplate for CIndex, a shared library that will vend high-levelTed Kremenek2009-08-263-0/+72
source symbol information (harvested by Clang) through a C API. llvm-svn: 80166
OpenPOWER on IntegriCloud