aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-01-17 22:06:26 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-01-17 22:06:26 +0000
commit995e4a7530d705147c875b63608532c483c011a8 (patch)
treeead70b7875eea8777ff0ab9114a832e13cd9b770 /lib/Format/Format.cpp
parent0234179282d59e6dfccc8b2da72a9a71bf5b6ac3 (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)'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions