Skip to content
Commit 01a7fba8 authored by Richard Smith's avatar Richard Smith
Browse files

-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
parent 50dc8a6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment