summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
Commit message (Collapse)AuthorAgeFilesLines
...
* - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵Steve Naroff2009-09-151-3/+9
| | | | | | | | | CXCursor_NoDeclFound). - Add predicate clang_isInvalid(). - Implement clang_getCursorFromDecl(). llvm-svn: 81908
* - Add back some harmless code that part of a reverted commit (r80859). I'll ↵Steve Naroff2009-09-031-1/+4
| | | | | | | | 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-2/+0
| | | | | | 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-0/+2
| | | | | | | | variables. Add clang_getTranslationUnitSpelling(). llvm-svn: 80859
* Start issuing callback for references (add some predicates, refactor some code).Steve Naroff2009-09-021-6/+10
| | | | llvm-svn: 80810
* Flesh out CXCursorKind...Steve Naroff2009-09-021-24/+36
| | | | | | | | | - 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
* Tweak comment based on Daniel's recently added '-emit-ast' option.Steve Naroff2009-09-011-6/+2
| | | | llvm-svn: 80684
* Add explicit "blind" client data to callback function (since we aren't using ↵Steve Naroff2009-09-011-2/+5
| | | | | | blocks). llvm-svn: 80673
* Implement source/line/column hooks.Steve Naroff2009-08-311-1/+1
| | | | llvm-svn: 80585
* More fleshing out the C-based indexing API (under construction).Steve Naroff2009-08-311-36/+43
| | | | llvm-svn: 80529
* Lot's of little changes to get the C-based indexing API going...Steve Naroff2009-08-281-20/+22
| | | | | | Work in progress. llvm-svn: 80367
* Add CX prefix to Cursor and move a comment.Steve Naroff2009-08-281-6/+6
| | | | llvm-svn: 80359
* Fill in Index.h header file and add stubs to implementation file.Steve Naroff2009-08-271-5/+138
| | | | llvm-svn: 80279
* Add initial boilerplate for CIndex, a shared library that will vend high-levelTed Kremenek2009-08-261-0/+33
source symbol information (harvested by Clang) through a C API. llvm-svn: 80166
OpenPOWER on IntegriCloud