| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 169622
|
|
|
|
| |
llvm-svn: 169611
|
|
|
|
|
|
|
|
| |
i386-redhat-linux6E).
Thanks to Bruce Stephens.
llvm-svn: 169610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: FormatTokenLexer is here, FormatTokenBuffer is on the way. This will allow to re-parse unwrapped lines when needed.
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D186
llvm-svn: 169605
|
|
|
|
|
|
| |
compatibility
llvm-svn: 169599
|
|
|
|
|
|
|
| |
Now not joining keywords with '::' and not putting a space between
a pointer pointer.
llvm-svn: 169594
|
|
|
|
|
|
|
|
|
| |
ObjCMethodCall::getRuntimeDefinition().
The same queries can happen thousands of times. This reduces the analysis
time on one heavy Objective-C file by 2.4%.
llvm-svn: 169589
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were emitting calls to blocks as if all arguments were
required --- i.e. with signature (A,B,C,D,...) rather than
(A,B,...). This patch fixes that and accounts for the
implicit block-context argument as a required argument.
In addition, this patch changes the function type under which
we call unprototyped functions on platforms like x86-64 that
guarantee compatibility of variadic functions with unprototyped
function types; previously we would always call such functions
under the LLVM type T (...)*, but now we will call them under
the type T (A,B,C,D,...)*. This last change should have no
material effect except for making the type conventions more
explicit; it was a side-effect of the most convenient implementation.
llvm-svn: 169588
|
|
|
|
|
|
| |
triple.
llvm-svn: 169587
|
|
|
|
|
|
| |
avoiding over-eager canonicalization of clusters.
llvm-svn: 169586
|
|
|
|
| |
llvm-svn: 169581
|
|
|
|
| |
llvm-svn: 169576
|
|
|
|
|
|
| |
defaulted.
llvm-svn: 169574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bindings.
This reduces analysis time by 1.2% on one test case (Objective-C), but
also cleans up some of the code conceptually as well. We can possible
just make RegionBindingsRef -> RegionBindings, but I wanted to stage
things.
After this, we should revisit Jordan's optimization of not canonicalizing
the immutable AVL trees for the cluster bindings as well.
llvm-svn: 169571
|
|
|
|
|
|
|
|
|
| |
Thanks for reminding me about copy-elision, David. Passing references here
doesn't help when we could get move construction in C++11. If we really
cared, we'd use std::swap to steal the reference from the temporary arg,
but it's probably not /that/ critical outside of Profile anyway.
llvm-svn: 169570
|
|
|
|
| |
llvm-svn: 169566
|
|
|
|
|
|
|
|
|
|
| |
Suggested by David Blaikie. ExplodedNode, CallEvent, and CheckerContext all
hang onto their ProgramState, so the accessors can return a reference to the
internal state rather than preemptively copying it. This helps avoid
temporary ProgramStateRefs, though local variables will still (correctly)
do an extra retain and release.
llvm-svn: 169563
|
|
|
|
|
|
| |
and will break the build on buildbot.
llvm-svn: 169562
|
|
|
|
|
|
| |
once" headers.
llvm-svn: 169558
|
|
|
|
|
|
|
|
|
| |
* Look for i686-linux-android under <sysroot>/lib/gcc.
* This patch also slightly enhance the test suite for
Android GCC toolchain detection.
llvm-svn: 169557
|
|
|
|
| |
llvm-svn: 169555
|
|
|
|
| |
llvm-svn: 169554
|
|
|
|
| |
llvm-svn: 169548
|
|
|
|
| |
llvm-svn: 169544
|
|
|
|
| |
llvm-svn: 169543
|
|
|
|
|
|
|
|
| |
actually necessary.
This just empties out the diag, which is fine.
llvm-svn: 169542
|
|
|
|
| |
llvm-svn: 169540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that were already parsed in the same "indexing session".
An indexing session is defined as using the same CXIndexAction object
for multiple clang_indexSourceFile calls.
Passing CXIndexOpt_SkipParsedBodiesInSession as an indexing option will
enable the mode where we try to skip bodies that were already parsed in
another translation unit.
If a function's body was skipped, the "flags" field in the CXIdxDeclInfo
structure will have "CXIdxDeclFlag_Skipped" bit was set.
llvm-svn: 169539
|
|
|
|
|
|
|
|
| |
RegionStore."
Jordan and I discussed this, and we are going to do this another way.
llvm-svn: 169538
|
|
|
|
| |
llvm-svn: 169535
|
|
|
|
| |
llvm-svn: 169533
|
|
|
|
|
|
| |
that was skipped by the parser.
llvm-svn: 169531
|
|
|
|
| |
llvm-svn: 169530
|
|
|
|
|
|
|
| |
'currStmt', 'CleanedState', and 'EntryNode' were being set, but only ever
used locally.
llvm-svn: 169529
|
|
|
|
| |
llvm-svn: 169528
|
|
|
|
|
|
|
|
|
| |
Previously we made three passes over the set of dead symbols, and removed
them from the state /twice/. Now we combine the autorelease pass and the
symbol death pass, and only have to remove the bindings for the symbols
that leaked.
llvm-svn: 169527
|
|
|
|
|
|
|
|
|
| |
Previously we would search for the last statement, then back up to the
entrance of the block that contained that statement. Now, while we're
scanning for the statement, we just keep track of which blocks are being
exited (in reverse order).
llvm-svn: 169526
|
|
|
|
|
|
| |
ProgramStateRef::Retain isn't free!
llvm-svn: 169525
|
|
|
|
|
|
|
| |
This doesn't seem to make much of a difference in practice, but it does
have the potential to avoid a trip through the constraint manager.
llvm-svn: 169524
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever we touch a single bindings cluster multiple times, we can delay
canonicalizing it until the final access. This has some interesting
implications, in particular that we shouldn't remove an /empty/ cluster
from the top-level map until canonicalization.
This is good for a 2% speedup or so on the test case in
<rdar://problem/12810842>
llvm-svn: 169523
|
|
|
|
|
|
|
|
| |
This feature was probably intended to improve diagnostics, but was currently
only used when dumping the Environment. It shows what location a given value
was loaded from, e.g. when evaluating an LValueToRValue cast.
llvm-svn: 169522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: + tests arranged in groups, as their number is already quite large.
Reviewers: djasper, klimek
Reviewed By: djasper
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D185
llvm-svn: 169520
|
|
|
|
| |
llvm-svn: 169519
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: klimek, djasper
Reviewed By: klimek
CC: cfe-commits, silvas
Differential Revision: http://llvm-reviews.chandlerc.com/D176
llvm-svn: 169518
|
|
|
|
|
|
| |
threshold, pic, pie
llvm-svn: 169517
|
|
|
|
| |
llvm-svn: 169513
|
|
|
|
|
|
|
|
| |
linker directly
Rather than calling gcc.
llvm-svn: 169512
|
|
|
|
|
|
|
|
| |
function.
Fixes PR14518.
llvm-svn: 169510
|
|
|
|
|
|
| |
unix-like system.
llvm-svn: 169509
|
|
|
|
|
|
|
| |
Previously we would match the last visited parent, which in the
case of template instantiations was the last instantiated template.
llvm-svn: 169508
|