| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
are considered 'live'. This hack isn't needed anymore because we have a
separation in the path-sensitive analyzer between variable names and bindings;
the analyzer can continue to reason about the storage of a variable after its
name is no longer directly referenced. Now the live variables analysis literally means "is this name live".
Along this line, update the dead stores checker to explicitly look for variables
whose values have escaped.
llvm-svn: 68504
|
| |
|
|
| |
llvm-svn: 68345
|
| |
|
|
|
|
|
| |
should only be an error if that value is consumed. This fix was largely
accomplished by moving 'isConsumedExpr' back to ParentMap.
llvm-svn: 68195
|
| |
|
|
|
|
| |
constant global variable.
llvm-svn: 64149
|
| |
|
|
|
|
|
|
| |
accurately states what the function is trying to do and how it is
different from Expr::isEvaluatable. Also get rid of a parameter that is both
unused and inaccurate.
llvm-svn: 62951
|
| |
|
|
|
|
| |
when say that a store is dead even though the computed value is used in the enclosing expression.
llvm-svn: 62552
|
| |
|
|
|
|
| |
escape hatch for 'unused variable' warnings).
llvm-svn: 62010
|
| |
|
|
|
|
|
|
|
|
|
| |
uses of getName() with uses of getDeclName(). This upgrades a bunch of
diags to take DeclNames instead of std::strings.
This also tweaks a couple of diagnostics to be cleaner and changes
CheckInitializerTypes/PerformInitializationByConstructor to pass
around DeclarationNames instead of std::strings.
llvm-svn: 59947
|
| |
|
|
|
|
| |
the preincrement is a subexpression, e.g. foo(++x); This can cause false negatives, but will remove a whole class of false positives.
llvm-svn: 57554
|
| |
|
|
|
|
| |
Changed casing of many bug names. The convention will be to have bug names (mostly) lower cased, and categories use some capitalization.
llvm-svn: 56385
|
| |
|
|
| |
llvm-svn: 54568
|
| |
|
|
|
|
| |
initialize to NULL.
llvm-svn: 54563
|
| |
|
|
| |
llvm-svn: 54492
|
| |
|
|
|
|
|
|
| |
over the ScopedDecls of a DeclStmt.
Updated a few clients of DeclStmt::getNextDeclarator() to use decl_iterator instead. Will update other clients after additional testing.
llvm-svn: 54368
|
| |
|
|
| |
llvm-svn: 54268
|
| |
|
|
|
|
| |
This fixes PR 2573: http://llvm.org/bugs/show_bug.cgi?id=2573
llvm-svn: 54009
|
| |
|
|
| |
llvm-svn: 53983
|
| |
|
|
|
|
| |
used in an enclosing expression.
llvm-svn: 53964
|
| |
|
|
|
|
| |
dead increments.
llvm-svn: 53960
|
|
|
llvm-svn: 53906
|