Steve Naroff
|
a7753c492e
|
Add test for C-based indexing API, using FileCheck utility.
llvm-svn: 82706
|
2009-09-24 20:03:06 +00:00 |
Steve Naroff
|
f99203abd0
|
Some minor cleanups...
llvm-svn: 82646
|
2009-09-23 20:00:53 +00:00 |
Steve Naroff
|
76b8f13fcb
|
More work to enable more exhaustive testing of the indexing API.
Next step: Add actual some test cases:-)
llvm-svn: 82636
|
2009-09-23 17:52:52 +00:00 |
Steve Naroff
|
54f22fb1de
|
- clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, CXCursor_NoDeclFound).
- Add predicate clang_isInvalid().
- Implement clang_getCursorFromDecl().
llvm-svn: 81908
|
2009-09-15 20:25:34 +00:00 |
Steve Naroff
|
e0064d2e95
|
Make sure ObjCInterfaceDecl's that are forward declared always contain a valid location.
llvm-svn: 81487
|
2009-09-11 00:12:01 +00:00 |
Steve Naroff
|
ef9618b75f
|
Implement accessors clang_getCursorKind(), clang_getCursorDecl().
Implement clang_getCursor() - wired up to Argiris's work.
Implement callbacks for CXCursor_ObjCProtocolRef.
llvm-svn: 81004
|
2009-09-04 15:44:05 +00:00 |
Steve Naroff
|
38c1a7ba12
|
- Add back some harmless code that part of a reverted commit (r80859). I'll 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
|
2009-09-03 15:49:00 +00:00 |
Daniel Dunbar
|
3a0637b06b
|
Revert "Visit function/method bodies and issue callback for parameters and local
variables.", this is breaking x86_64-apple-darwin10 and Linux tests.
llvm-svn: 80896
|
2009-09-03 05:59:50 +00:00 |
Steve Naroff
|
ef3cf2a576
|
Visit function/method bodies and issue callback for parameters and local variables.
Add clang_getTranslationUnitSpelling().
llvm-svn: 80859
|
2009-09-03 00:32:06 +00:00 |
Eli Friedman
|
b041c75f09
|
Fix warnings.
llvm-svn: 80833
|
2009-09-02 20:07:26 +00:00 |
Steve Naroff
|
80a766bf50
|
Start issuing callback for references (add some predicates, refactor some code).
llvm-svn: 80810
|
2009-09-02 18:26:48 +00:00 |
Steve Naroff
|
3645f5a99b
|
Flesh out CXCursorKind...
- 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
|
2009-09-02 13:28:54 +00:00 |
Steve Naroff
|
69b10fd2c5
|
Add explicit "blind" client data to callback function (since we aren't using blocks).
llvm-svn: 80673
|
2009-09-01 15:55:40 +00:00 |
Steve Naroff
|
772c1a4574
|
Implement source/line/column hooks.
llvm-svn: 80585
|
2009-08-31 14:26:51 +00:00 |
Steve Naroff
|
1054e60334
|
More fleshing out the C-based indexing API (under construction).
llvm-svn: 80529
|
2009-08-31 00:59:03 +00:00 |
Steve Naroff
|
a1c728438c
|
Lot's of little changes to get the C-based indexing API going...
Work in progress.
llvm-svn: 80367
|
2009-08-28 15:28:48 +00:00 |