aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-03-01 20:34:48 +0000
committerTed Kremenek <kremenek@apple.com>2011-03-01 20:34:48 +0000
commite96dad9544f0f87dc65ba097f4fb05b25a3fb804 (patch)
tree2f344c42ac8a51b64b1b85891d0e8773a08a7632 /llvm/unittests/Support/MathExtrasTest.cpp
parenta7a795bed1fd104b162add53a8ab15e163f6648f (diff)
downloadllvm-e96dad9544f0f87dc65ba097f4fb05b25a3fb804.zip
llvm-e96dad9544f0f87dc65ba097f4fb05b25a3fb804.tar.gz
llvm-e96dad9544f0f87dc65ba097f4fb05b25a3fb804.tar.bz2
Don't warn about unused values in ternary ?: expressions unless both the LHS and RHS are "unused" (side-effect free).
Patch by Justin Bogner! Fixes PR 8282. llvm-svn: 126779
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions