commit | 25973455aed1cdc9c40b208c792b5db4f8f1297d | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jun 30 10:53:14 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jun 30 10:53:14 2010 +0000 |
tree | 7fc5f12a8716c208d2fdb8663464665c8c2421f8 | |
parent | 8f4eae96bef0902d93535c18b69154ce66f5e546 [diff] |
Fix rdar://8139785 "implement warning on dead expression in comma operator" As a bonus, fix the warning for || and && operators; it was emitted even if one of the operands had side effects, e.g: x || test_logical_foo1(); emitted a bogus "expression result unused" for 'x'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107274 91177308-0d34-0410-b5e6-96231b3b80d8