- Aug 04, 2010
-
-
Jordy Rose authored
Change the checker callback cache in GRExprEngine to be more compact (and IMHO a little easier to understand), and add the same sort of caching for EvalAssume (tied for least-used callback), mostly as proof-of-concept. Before we go further with these, we should figure out a way to reuse the visit-and-cache code in CheckerVisit. llvm-svn: 110191
-
Eric Christopher authored
llvm-svn: 110190
-
John McCall authored
haven't been explicitly instantiated. llvm-svn: 110189
-
John McCall authored
ObjC exceptions: - don't enter a try for the catch blocks unless there's a finally - put the setjmp buffer in the locals set for liveness reasons - dump the sync object into an alloca in the locals set for liveness reasons Some of this can go away if the backend starts to properly calculate liveness in the presence of setjmp (which would also be a *much* stabler solution). llvm-svn: 110188
-
Douglas Gregor authored
short "cooling off" period (defaulting to 5 reparses) before trying to build a precompiled preamble again. Previously, if we failed to build the precompiled preamble at any time, we just gave up the whole charade any never tried again. llvm-svn: 110187
-
Bruno Cardoso Lopes authored
llvm-svn: 110178
-
John McCall authored
delete lookup until the end of the class definition. llvm-svn: 110176
-
John McCall authored
a declaration. llvm-svn: 110175
-
John McCall authored
delete for a virtual destructor. Diagnose ambiguities. Fixes PR7803. llvm-svn: 110173
-
John McCall authored
llvm-svn: 110165
-
John McCall authored
mark it nounwind based on whether it contains any non-nounwind calls. <rdar://problem/8087431> llvm-svn: 110163
-
Chris Lattner authored
llvm-svn: 110161
-
- Aug 03, 2010
-
-
Sebastian Redl authored
Store all selectors in the selector hash table instead of only those from the method pool. llvm-svn: 110158
-
Nate Begeman authored
llvm-svn: 110153
-
Tom Care authored
- Reporting now uses getUnreachableStmt which returns the Stmt* we should report - Indexing of reachable and visited blocks now use CFGBlock ID's instead of pointers - The CFG used in the unreachable search is now the unoptimized CFG - Added 'Dead code' category to warnings - Removed obsolete function getCondition - Simplified false positive detection based on properties of FindUnreachableEntryPoints llvm-svn: 110148
-
Jordy Rose authored
llvm-svn: 110141
-
Jordy Rose authored
Makes GRState::makeWithStore private, to encourage clients to make store changes through GRState instead of directly accessing the StoreManager. Also adds cover methods for InvalidateRegion(s) and EnterStackFrame to GRState. This is in preparation for proposed region change notifications. No functionality change. llvm-svn: 110137
-
Douglas Gregor authored
declarations that we saw when creating the precompiled preamble, and provide those declarations in addition to the declarations parsed in the main source file when traversing top-level declarations. This makes the use of precompiled preambles a pure optimization, rather than changing the semantics of the parsed translation unit. llvm-svn: 110131
-
Eli Friedman authored
llvm-svn: 110126
-
Argyrios Kyrtzidis authored
Apart from storing/retrieving the previous redeclaration from PCH, also store/retrieve the most recent redeclaration. That way we are sure that the full redeclarations chain is loaded. When using chained PCHs, first declarations point to the most recent redeclarations in the same PCH. To address this use a REDECLS_UPDATE_LATEST record block to keep track of which first declarations need to point to a most recent redeclaration in another PCH. llvm-svn: 110125
-
Argyrios Kyrtzidis authored
llvm-svn: 110124
-
Argyrios Kyrtzidis authored
llvm-svn: 110123
-
Argyrios Kyrtzidis authored
llvm-svn: 110122
-
Chris Lattner authored
llvm-svn: 110116
-
Daniel Dunbar authored
assembler. - Fixes PR6218, hopefully. llvm-svn: 110111
-
Douglas Gregor authored
it while generating precompiled preambles. No functionality change. llvm-svn: 110108
-
John McCall authored
llvm-svn: 110107
-
Zhongxing Xu authored
shouldn't put restrictions in store manager. llvm-svn: 110106
-
Zhongxing Xu authored
llvm-svn: 110102
-
Bruno Cardoso Lopes authored
as soon as we properly codegen the simple vector operations, remove the unnecessary built-ins/intrinsics from clang and llvm. Also add tests for the new built-ins llvm-svn: 110096
-
Tom Care authored
Changed GRExprEngine to pass down a reference to itself when checkers are doing postanalysis. This allows the checker to gather information about the state of the engine when it has finished. - Exposed the worklist and BlockAborted flag in GRCoreEngine - Changed postanalysis checkers to use the new infrastructure llvm-svn: 110095
-
Ted Kremenek authored
Add -cc1 option '-unoptimized-cfg' to toggle using a CFG (for static analysis) that doesn't prune CFG edges. llvm-svn: 110087
-
Ted Kremenek authored
CFG without any edges pruned out because of trivially solvable conditions (e.g., 'if (0)'). llvm-svn: 110085
-
John McCall authored
purposes of the jump checker. Also extend Ted's iteration fix to labels. Fixes PR7789. llvm-svn: 110082
-
Sebastian Redl authored
llvm-svn: 110078
-
Ted Kremenek authored
Fix another case (this time in JumpScopeChecker) where walking deeply nested CaseStmts can blow out the stack. Fixes <rdar://problem/8125165>. llvm-svn: 110071
-
- Aug 02, 2010
-
-
Ted Kremenek authored
calls when the enclosing object had retain/release state. Fixes <rdar://problem/8261992>. llvm-svn: 110068
-
John McCall authored
initializations now. llvm-svn: 110063
-
Douglas Gregor authored
llvm-svn: 110062
-
Douglas Gregor authored
creating the preamble and "replay" them when reusing the preamble. Also, fix a thinko in the copying of the preamble when building the precompiled preamble. llvm-svn: 110061
-