Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f9c2a5d1b49b60962b613a1dfffa23831ca298a2
/
lib
/
Analysis
/
DeadStores.cpp
f9c2a5d
Distinguish between dead stores and dead initializations.
by Ted Kremenek
· 17 years ago
8f26986
Refactor Dead Stores error reporting to use the simplified BugReporter::EmitBasicReport interface.
by Ted Kremenek
· 17 years ago
7032f46
Have BugReporter::getCFG and BugReporter::getLiveVariables returns pointers instead of references, because they can both fail
by Ted Kremenek
· 17 years ago
db09a4d
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
· 17 years ago
e207558
Unify the code path for the Dead Stores checker to always use the BugReporter interface.
by Ted Kremenek
· 17 years ago
c095997
Refactored some of the BugReporter interface so that data such as the ASTContext&, PathDiagnosticClient*, can be provided by an external source.
by Ted Kremenek
· 17 years ago
17fdf95
Added version of CheckDeadStores that accepts a client-provided LiveVariables object.
by Ted Kremenek
· 17 years ago
bd527ef
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
· 17 years ago
1a654b6
Modified the dead stores checker to...
by Ted Kremenek
· 17 years ago
c07ba35
Don't use ostringstream (pulling in <sstream>) when creating the dead store diagnostic (simply not needed).
by Ted Kremenek
· 17 years ago
3eb817e
Improve dead stores diagnostics to include the variable name.
by Ted Kremenek
· 17 years ago
a23157e
Emit dead store warnings for ++ and -- operators.
by Ted Kremenek
· 17 years ago
95cc1ba
Generalize caching mechanism for bugs reports. Now individual BugTypes
by Ted Kremenek
· 17 years ago
1d5d1da
Improve dead store diagnostic.
by Ted Kremenek
· 17 years ago
9d7af51
Bug fix in dead stores: don't always check the liveness of the first decl
by Ted Kremenek
· 17 years ago
1c86b15
Don't flag dead stores that occur in macros.
by Ted Kremenek
· 17 years ago
c967c9d
Bug fix in dead-store checker when walking the Decls in a DeclStmt: don't
by Ted Kremenek
· 17 years ago
d2f642b
Hooked up the dead-store checker to the BugReporter interface. Now dead-store
by Ted Kremenek
· 17 years ago
bda0b62
Make a major restructuring of the clang tree: introduce a top-level
by Chris Lattner
· 17 years ago
[Renamed from Analysis/DeadStores.cpp]
7cb1593
The LiveVariables analysis no longer requires a FunctionDecl&; this allows it
by Ted Kremenek
· 17 years ago
843e934
fix typos
by Gabor Greif
· 17 years ago
bffaa83
Modified LiveVariables to perform all of its base initialization in the ctor,
by Ted Kremenek
· 18 years ago
79649df
Added support to dataflow solver to (when requested) also record dataflow
by Ted Kremenek
· 18 years ago
c2b51d8
Added VISIBILITY_HIDDEN to classes/structs in anonymous namespaces.
by Ted Kremenek
· 18 years ago
0bc735f
Don't attribute in file headers anymore. See llvmdev for the
by Chris Lattner
· 18 years ago
cf6e41b
Directory restructing of Analysis files.
by Ted Kremenek
· 18 years ago
9c728dc
TargetInfo no longer includes a reference to SourceManager.
by Ted Kremenek
· 18 years ago
7a9d49f
Mega-patch: ripped SourceManager out of Diagnostic/DiagnosticClient. Now
by Ted Kremenek
· 18 years ago
311ff02
Add a new Rewriter::getRangeSize method.
by Chris Lattner
· 18 years ago
11e7218
Migrated LiveVariables and UninitializedVariables to now use the
by Ted Kremenek
· 18 years ago
c6a1faf
DeadStores no longer reports warnings for stores to non-local variables.
by Ted Kremenek
· 18 years ago
f63aa45
Significant cleanups and bug-fixes to LiveVariables. Uses new refactored
by Ted Kremenek
· 18 years ago
4cd8b3c
Removed "EverKilled" class in DeadStores checker; it is no longer used.
by Ted Kremenek
· 18 years ago
fdd225e
Further refactored DataflowSolver. Now most code for the solver is shared
by Ted Kremenek
· 18 years ago
c0508f9
switch the various CFG-based stuff over to using ASTConsumer interface,
by Chris Lattner
· 18 years ago
b800dc2
make the sourcemgr available through ASTContext.
by Chris Lattner
· 18 years ago
ce1cab9
For looking at "dead stores" in declarations, we now check to see
by Ted Kremenek
· 18 years ago
a596533
Fixed potential NULL dereference when iterating over a chain of Decls.
by Ted Kremenek
· 18 years ago
8467583
get rid of ugly "warning: no newline at end of file"
by Gabor Greif
· 18 years ago
c0576ca
Fixed LiveVariables to no longer track the liveness of function pointers
by Ted Kremenek
· 18 years ago
b00c95e
Renaming of the LiveVariablesAuditor interface. Changed "Auditor" and
by Ted Kremenek
· 18 years ago
83522a3
Added more checking in "dead stores" for values that are initialized
by Ted Kremenek
· 18 years ago
1ed6d2e
Forgot to check in the actual "dead stores" checker in the last commit!
by Ted Kremenek
· 18 years ago