| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
IBActionAttr and IBOutletAttr respectively.
llvm-svn: 96563
|
| |
|
|
|
|
| |
appropriately. Call out a few missing cases in the expression mangler.
llvm-svn: 95176
|
| |
|
|
| |
llvm-svn: 94791
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
asserts in cursor construction functions to make this more obvious.
Doug, please check. c-index-test would previously crash on this code:
--
for(;;) {}
--
Do we need a custom visit of the for statement to cover the variable
declarations?
llvm-svn: 94391
|
| |
|
|
|
|
| |
typedefs only (for now).
llvm-svn: 94078
|
| |
|
|
|
|
|
| |
the interface to clang_visitChildren() by eliminating the
CXTranslationUnit pointer.
llvm-svn: 94051
|
| |
|
|
|
|
| |
much about the cursor's storage
llvm-svn: 94049
|
| |
|
|
|
|
|
|
|
| |
the root of the conceptual cursor hierarchy (just like we do with
declarations). This will be used when we get to unify
clang_loadTranslationUnit() and clang_loadDeclaration() into something
more generally useful.
llvm-svn: 93954
|
| |
|
|
|
|
|
| |
and CXCursor_EnumConstantRef; they've been subsumed by expression
references, which do a much nicer job.
llvm-svn: 93947
|
| |
|
|
|
|
|
|
|
|
| |
statements, moving some of the more unnatural kinds of references
(VarRef, EnumConstantRef, etc.) over to the expressions. We can now
poke at arbitrary expressions and statements with, e.g.,
clang_getCursor() and get back useful information (e.g., source
ranges).
llvm-svn: 93946
|
| |
|
|
|
|
| |
now-dead CXCursor_ObjCIvarRef.
llvm-svn: 93928
|
| |
|
|
|
|
| |
have been marked for death for a while.
llvm-svn: 93927
|
| |
|
|
|
|
|
|
| |
API. This is a catch-all for any declaration known to Clang but not
specifically part of the CIndex API. We'll use the same approach with
expressions, statements, references, etc., as needed.
llvm-svn: 93924
|
| |
|
|
|
|
|
|
|
|
|
|
| |
CIndex functions that (1) map from a reference or declaration to the
corresponding definition, if available, and (2) determine whether a
given declaration cursor is also a definition. This eliminates a lot
of duplication in the cursor kinds, and maps more closely to the Clang
ASTs.
This is another API + ABI breaker with no deprecation. Yay, progress.
llvm-svn: 93893
|
| |
|
|
|
|
| |
rather than the locations that refer to.
llvm-svn: 93812
|
| |
|
|
| |
llvm-svn: 93779
|
| |
|
|
|
|
|
|
|
| |
in CXCursor.cpp. With this sane representation, fix the class
reference that is part of Objective-C category declarations so that
the cursor's location matches up with the reference, not the class
being referred to.
llvm-svn: 93640
|
| |
|
|
|
|
|
| |
source locations where the protocols were referenced rather than the
location of some random enclosing declaration.
llvm-svn: 93637
|
| |
|
|
|
|
| |
to CXCursor.cpp.
llvm-svn: 93634
|
| |
|
|
| |
llvm-svn: 93623
|
| |
|
|
|
|
| |
This revealed a bunch of inconsistencies in how CXCursorKinds were being computed.
llvm-svn: 93618
|
| |
|
|
|
|
| |
TUVisitor.
llvm-svn: 93599
|
| |
|
|
| |
llvm-svn: 93561
|
|
|
creating/probing CXCursors.
llvm-svn: 93547
|