| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
introduce it into the clangIndex library.
It is a general goodness for libclang itself to mostly be a wrapper of functionality provided by the libraries.
llvm-svn: 260760
|
|
|
|
| |
llvm-svn: 260255
|
|
|
|
|
|
|
|
| |
to allow them to explicitly opt into data recursion despite having overridden
Traverse*Stmt or Traverse*Expr. Use this to reintroduce data recursion to the
one place that lost it when DataRecursiveASTVisitor was removed.
llvm-svn: 254041
|
|
|
|
|
|
| |
just an alias for RecursiveASTVisitor.
llvm-svn: 253949
|
|
|
|
| |
llvm-svn: 220812
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D4368
llvm-svn: 216649
|
|
|
|
|
|
|
| |
for Objective-C's array and dictionary literals.
rdar://17554063. This is wip.
llvm-svn: 214983
|
|
|
|
| |
llvm-svn: 210422
|
|
|
|
| |
llvm-svn: 209246
|
|
|
|
|
|
|
| |
Required pulling LambdaExpr::Capture into its own header.
No functionality change.
llvm-svn: 208470
|
|
|
|
|
|
|
|
| |
include/clang/AST/DataRecursiveASTVisitor.h
This is to make it available so the static analyzer can use it.
llvm-svn: 197766
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a FieldDecl from it, and propagate both into the closure type and the
LambdaExpr.
You can't do much useful with them yet -- you can't use them within the body
of the lambda, because we don't have a representation for "the this of the
lambda, not the this of the enclosing context". We also don't have support or a
representation for a nested capture of an init-capture yet, which was intended
to work despite not being allowed by the current standard wording.
llvm-svn: 181985
|
|
|
|
|
|
| |
message.
llvm-svn: 181237
|
|
|
|
|
|
|
|
| |
references thereto.
Patch by Tong Shen!
llvm-svn: 179585
|
|
|
|
|
|
| |
Completely automated with sort_includes.py
llvm-svn: 169240
|
|
|
|
|
|
| |
rdar://12257073
llvm-svn: 163563
|
|
|
|
|
|
|
|
|
| |
To do that, keep track of the location of the protocol id in the ObjCProtocolExpr
AST node.
rdar://11190837
llvm-svn: 156890
|
|
|
|
| |
llvm-svn: 156331
|
|
|
|
|
|
|
|
| |
BodyIndexer::TraverseCXXOperatorCallExpr".
It was reverted on r156253.
llvm-svn: 156330
|
|
|
|
|
|
|
|
|
|
| |
This is temporary until we settle on how to make the main RecursiveASTVisitor safe.
There are some modifications on the original version, to avoid extreme memory usage
when compiling for release.
rdar://11179167
llvm-svn: 156329
|
|
|
|
|
|
|
|
| |
BodyIndexer::TraverseCXXOperatorCallExpr which"
It caused test/Index/index-many-call-ops.cpp to fail in stage2 c-index-test on selfhosting i686-cygwin and x86_64-linux since r156229 (Reverting making RecursiveASTVisitor data recursive).
llvm-svn: 156253
|
|
|
|
|
|
|
| |
was removed in r155969 to address a deficiency of RecursiveASTVisitor
prior to recent changes on it.
llvm-svn: 156142
|
|
|
|
|
|
|
|
|
| |
* Work around build failures due to gcc 4.2 bugs.
* Remove BodyIndexer::TraverseCXXOperatorCallExpr, which was not being called
prior to this change, and whose presence disables a RecursiveASTVisitor
stack space optimization after this change.
llvm-svn: 155969
|
|
|
|
| |
llvm-svn: 155082
|
|
|
|
|
|
| |
NSArray/NSDictionary/NSNumber literals.
llvm-svn: 152138
|
|
|
|
|
|
| |
rdar://10906206
llvm-svn: 151118
|
|
|
|
| |
llvm-svn: 150555
|
|
|
|
|
|
|
| |
well as improving the RecursiveASTVisitor's walk of lambda
expressions.
llvm-svn: 150549
|
|
|
|
|
|
| |
opt-in indexing option.
llvm-svn: 150517
|
|
|
|
|
|
|
|
|
|
| |
DeclRefExpr
that is referencing the member function, so we can index the referenced function.
Fixes rdar://10762375&10324915 & http://llvm.org/PR11192
llvm-svn: 150033
|
|
|
|
| |
llvm-svn: 148706
|
|
|
|
|
|
| |
that one wants indexing callbacks for function-local symbols as well.
llvm-svn: 148160
|
|
|
|
|
|
|
|
|
|
| |
was constructed, e.g. for a property access.
This allows the selector identifier locations machinery for ObjCMessageExpr
to function correctly, in that there are not real locations to handle/report for
such a message.
llvm-svn: 148013
|
|
|
|
|
|
| |
rdar://10567864&10567916
llvm-svn: 146497
|
|
|
|
| |
llvm-svn: 145058
|
|
|
|
|
|
|
|
|
| |
-For indexDeclaration, also pass the declaration attributes as an array of cursors.
-Rename CXIndexOpt_OneRefPerFile -> CXIndexOpt_SuppressRedundantRefs, and only pass
a reference if a declaration/definition does not exist in the file.
-Other fixes.
llvm-svn: 144942
|
|
|
|
| |
llvm-svn: 144764
|
|
|
|
| |
llvm-svn: 142355
|
|
|
|
| |
llvm-svn: 142353
|
|
more of the work involved in indexing a translation unit and simplifies client
implementations.
Only C/ObjC for now, C++ (and comments) to come.
llvm-svn: 142233
|