| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 127657
|
|
|
|
|
|
|
| |
extending the existing support for sizeof and alignof. Original
patch by Guy Benyei.
llvm-svn: 127475
|
|
|
|
|
|
|
|
|
| |
pointers instead of fresh CFGElements.
- Also, consoldiate getDtorKind() and getKind() into one "kind".
- Add empty getDestructorDecl() method to CFGImplicitDtor.
llvm-svn: 126738
|
|
|
|
|
|
|
|
| |
dataflow facts and properly merging them.
Fixes PR 9076.
llvm-svn: 124666
|
|
|
|
| |
llvm-svn: 124394
|
|
|
|
|
|
| |
blocks that reference captured variables.
llvm-svn: 124348
|
|
|
|
| |
llvm-svn: 124347
|
|
|
|
|
|
|
| |
a warning for uses of an uninitialized variable
when the use is a void cast, e.g. (void) x.
llvm-svn: 124278
|
|
|
|
|
|
| |
about uninitialized variables captured by blocks.
llvm-svn: 124213
|
|
|
|
| |
llvm-svn: 124076
|
|
|
|
| |
llvm-svn: 123944
|
|
|
|
|
|
|
|
|
|
|
| |
handling pseudo-path sensitivity, and instead
use those assertion conditions as dynamic checks.
These assertions would be violated when analyzing
a CFG where some branches where optimized away
during CFG construction because their branch
conditions could be trivially determined.
llvm-svn: 123943
|
|
|
|
|
|
|
|
|
|
|
|
| |
analysis for short-circuited operations. For branch written like "if (x && y)",
we maintain two sets of dataflow values for the outgoing
branches. This suppresses some common false positives
for -Wuninitialized-experimental.
This change introduces some assertion failures
when running on the LLVM codebase. WIP.
llvm-svn: 123923
|
|
|
|
|
|
|
|
| |
references by monitoring whether an access to
a variable is solely to compute it's lvalue or
to do an lvalue-to-rvalue conversion (i.e., a load).
llvm-svn: 123777
|
|
|
|
|
|
|
| |
thus identifying a minor logical flaw in
UninitializedValuesV2.cpp.
llvm-svn: 123734
|
|
|
|
|
|
| |
also properly handle confluence of loops.
llvm-svn: 123733
|
|
|
|
| |
llvm-svn: 123538
|
|
-Wuninitialized based on CFG dataflow analysis. WIP.
llvm-svn: 123512
|