commit | fb7cb35fa0a8131853b1b049ca7be77980e144f5 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Mar 01 20:34:48 2011 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Mar 01 20:34:48 2011 +0000 |
tree | fa3b015d9dc00e2aae37c3f71885a255214a73dd | |
parent | 94fdffa4a572fc14ac296f5f1aae9db3734c72f1 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126779 91177308-0d34-0410-b5e6-96231b3b80d8