| commit | 8b6ec6870f65f4a4d4c88b2a9715706ba34ee6d9 | [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 | 7d265363387c5fd3dc6641e7968ec640bd96a12f | |
| parent | 5b4288440dd011062210c9f9e6ce4c50b03f4efb [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. llvm-svn: 124668