| commit | d5707abdfdd5b07190d7473f9ef12e5f742cf5be | [log] [tgz] |
|---|---|---|
| author | John McCall <rjmccall@apple.com> | Mon Oct 12 21:59:07 2009 +0000 |
| committer | John McCall <rjmccall@apple.com> | Mon Oct 12 21:59:07 2009 +0000 |
| tree | f28c146eb502841ea8a42787c35b3a7a84e6a7eb | |
| parent | 3250e7769fd6b39572c675a480a1e3cd04af4e4d [diff] |
Implement -Wparentheses: warn about using assignments in contexts that require conditions. Add a fixit to insert the parentheses. Also fix a very minor possible memory leak in 'for' conditions. Fixes PR 4876 and rdar://problem/7289172 llvm-svn: 83907