summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/bitwise-ops.c
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Shitfing a constant value by its bit width is undefined.Jordan Rose2014-01-161-1/+19
| | | | | | | | | Citation: C++11 [expr.shift]p1 (and the equivalent text in C11). This fixes PR18073, but the right thing to do (as noted in the FIXME) is to have a real checker for too-large shifts. llvm-svn: 199405
* [analyzer] Add tests for symbolic expression liveness.Jordan Rose2012-09-251-0/+14
There are very few tests here because SValBuilder is fairly aggressive about not building SymExprs that we can't evaluate, which saves memory and CPU but also makes it very much tied to the current constraint manager. We should probably scale back here and let things decay to UnknownVal later on. bitwise-ops.c tests that for the SymExprs we do create, we persist our assumptions about them. traversal-path-unification.c tests that we do clean out constraints on arbitrary SymExprs once they have actually died. llvm-svn: 164623
OpenPOWER on IntegriCloud