diff options
| author | Ted Kremenek <kremenek@apple.com> | 2011-03-01 20:34:48 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2011-03-01 20:34:48 +0000 |
| commit | e96dad9544f0f87dc65ba097f4fb05b25a3fb804 (patch) | |
| tree | 2f344c42ac8a51b64b1b85891d0e8773a08a7632 /llvm/unittests/Support/MathExtrasTest.cpp | |
| parent | a7a795bed1fd104b162add53a8ab15e163f6648f (diff) | |
| download | llvm-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
