Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e0ad215b709fba79b3a1ead9af31a6f8bd3ee77a
/
lib
/
Analysis
/
CheckDeadStores.cpp
b515d13
Added FIXME.
by Ted Kremenek
· 16 years ago
dfebae1
Don't use Expr::isIntegerConstantExpr just to check if a pointer value is initialize to NULL.
by Ted Kremenek
· 16 years ago
14dbe32
Don't flag any dead stores for variables marked unused.
by Ted Kremenek
· 16 years ago
b59f9cf
Added decl_iterator to DeclStmt to provide an abstract interface to iterate over the ScopedDecls of a DeclStmt.
by Ted Kremenek
· 16 years ago
5e3cce5
Change 'dead store (++/--)' to 'dead increment'
by Ted Kremenek
· 16 years ago
542adb1
Don't emit 'dead initialization' warnings for variables marked 'unused'.
by Ted Kremenek
· 16 years ago
d1a6c67
Issue dead store warnings for preincrements involved in a subexpression.
by Ted Kremenek
· 16 years ago
1574600
Don't flag dead stores when the result of a preincrement/predecrement is used in an enclosing expression.
by Ted Kremenek
· 16 years ago
8d48164
Further refine dead store checking to distinguish between dead stores and dead increments.
by Ted Kremenek
· 16 years ago
e0d2bdc
Rename file.
by Ted Kremenek
· 16 years ago
[Renamed from lib/Analysis/DeadStores.cpp]
6360004
Distinguish between dead stores and dead initializations.
by Ted Kremenek
· 16 years ago
4bd03ef
Refactor Dead Stores error reporting to use the simplified BugReporter::EmitBasicReport interface.
by Ted Kremenek
· 16 years ago
c2a9eae
Have BugReporter::getCFG and BugReporter::getLiveVariables returns pointers instead of references, because they can both fail
by Ted Kremenek
· 16 years ago
724133b
Added static analysis check to see if a subclass of NSObject implements -dealloc, and whether or not that implementation calls [super dealloc].
by Ted Kremenek
· 16 years ago
eb9627b
Unify the code path for the Dead Stores checker to always use the BugReporter interface.
by Ted Kremenek
· 16 years ago
ba1c7ed
Refactored some of the BugReporter interface so that data such as the ASTContext&, PathDiagnosticClient*, can be provided by an external source.
by Ted Kremenek
· 16 years ago
3349aa1
Added version of CheckDeadStores that accepts a client-provided LiveVariables object.
by Ted Kremenek
· 16 years ago
64a2e12
When using the dead-stores checker with the BugReporter class, properly capture the diagnostic associated with a specific warning and emit it.
by Ted Kremenek
· 16 years ago
72f52c0
Modified the dead stores checker to...
by Ted Kremenek
· 16 years ago
7043166
Don't use ostringstream (pulling in <sstream>) when creating the dead store diagnostic (simply not needed).
by Ted Kremenek
· 16 years ago
40c8b9e
Improve dead stores diagnostics to include the variable name.
by Ted Kremenek
· 16 years ago
401c344
Emit dead store warnings for ++ and -- operators.
by Ted Kremenek
· 16 years ago
e376985
Generalize caching mechanism for bugs reports. Now individual BugTypes
by Ted Kremenek
· 16 years ago
ba6eb42
Improve dead store diagnostic.
by Ted Kremenek
· 16 years ago
1dbfdae
Bug fix in dead stores: don't always check the liveness of the first decl
by Ted Kremenek
· 16 years ago
0389e1d
Don't flag dead stores that occur in macros.
by Ted Kremenek
· 16 years ago
92770f2
Bug fix in dead-store checker when walking the Decls in a DeclStmt: don't
by Ted Kremenek
· 16 years ago
e3ef1c7
Hooked up the dead-store checker to the BugReporter interface. Now dead-store
by Ted Kremenek
· 16 years ago
be1a7a0
Make a major restructuring of the clang tree: introduce a top-level
by Chris Lattner
· 16 years ago
[Renamed from Analysis/DeadStores.cpp]
f41ac5f
The LiveVariables analysis no longer requires a FunctionDecl&; this allows it
by Ted Kremenek
· 16 years ago
2224fcb
fix typos
by Gabor Greif
· 16 years ago
d03aece
Modified LiveVariables to perform all of its base initialization in the ctor,
by Ted Kremenek
· 17 years ago
ab8ed95
Added support to dataflow solver to (when requested) also record dataflow
by Ted Kremenek
· 17 years ago
ec81835
Added VISIBILITY_HIDDEN to classes/structs in anonymous namespaces.
by Ted Kremenek
· 17 years ago
959e5be
Don't attribute in file headers anymore. See llvmdev for the
by Chris Lattner
· 17 years ago
cdf8e84
Directory restructing of Analysis files.
by Ted Kremenek
· 17 years ago
d7f64cd
TargetInfo no longer includes a reference to SourceManager.
by Ted Kremenek
· 17 years ago
b3ee193
Mega-patch: ripped SourceManager out of Diagnostic/DiagnosticClient. Now
by Ted Kremenek
· 17 years ago
6fe8b27
Add a new Rewriter::getRangeSize method.
by Chris Lattner
· 17 years ago
8ce772b
Migrated LiveVariables and UninitializedVariables to now use the
by Ted Kremenek
· 17 years ago
4f20054
DeadStores no longer reports warnings for stores to non-local variables.
by Ted Kremenek
· 17 years ago
eebf131
Significant cleanups and bug-fixes to LiveVariables. Uses new refactored
by Ted Kremenek
· 17 years ago
2456192
Removed "EverKilled" class in DeadStores checker; it is no longer used.
by Ted Kremenek
· 17 years ago
d7a2f81
Further refactored DataflowSolver. Now most code for the solver is shared
by Ted Kremenek
· 17 years ago
52332d0
switch the various CFG-based stuff over to using ASTConsumer interface,
by Chris Lattner
· 17 years ago
409dfd1
make the sourcemgr available through ASTContext.
by Chris Lattner
· 17 years ago
1278929
For looking at "dead stores" in declarations, we now check to see
by Ted Kremenek
· 17 years ago
c0c3d73
Fixed potential NULL dereference when iterating over a chain of Decls.
by Ted Kremenek
· 17 years ago
61ce98c
get rid of ugly "warning: no newline at end of file"
by Gabor Greif
· 17 years ago
6b2b4e3
Fixed LiveVariables to no longer track the liveness of function pointers
by Ted Kremenek
· 17 years ago
d1d8826
Renaming of the LiveVariablesAuditor interface. Changed "Auditor" and
by Ted Kremenek
· 17 years ago
42276bc
Added more checking in "dead stores" for values that are initialized
by Ted Kremenek
· 17 years ago
e9646a0
Forgot to check in the actual "dead stores" checker in the last commit!
by Ted Kremenek
· 17 years ago