commit | 0e2dc3a1159806c8303b0979be1ce1526cc64ed3 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Feb 01 18:24:22 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Feb 01 18:24:22 2011 +0000 |
tree | af7b32e291a316e1c5e7fae41b03e46fece42813 | |
parent | 63b54104700873dc4a5b95b3108052580b5370e7 [diff] |
Warn for "if ((a == b))" where the equality expression is needlessly wrapped inside parentheses. It's highly likely that the user intended an assignment used as condition. Addresses rdar://8848646. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124668 91177308-0d34-0410-b5e6-96231b3b80d8