| commit | 01a7fba820a612d55d2c09ab734f4c774ba6aa0a | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jan 17 22:06:26 2013 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jan 17 22:06:26 2013 +0000 |
| tree | b37845f3857ee871350de05eb01d34ba4547413c | |
| parent | 50dc8a6a388f6fd1140a501b9e9f2d0ef2ef138d [diff] |
-Wunsequenced: if the LHS of an &&, || or ?: is not constant, check for unsequenced operations in the RHS. We don't compare the RHS with the rest of the expression yet; such checks will need care to avoid diagnosing unsequenced operations which are both in conditionally-evaluated subexpressions which actually can't occur together, such as in '(b && ++x) + (!b && ++x)'. llvm-svn: 172760