commit | 5a881bb09928b7ade891efc680088aaad276f8d6 | [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 | ef404b9efd3fb4ac34ac1bdaf717189e0bb48987 | |
parent | 65f6642e88ac39f2c1129f9b92b3fafd55dc32df [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83907 91177308-0d34-0410-b5e6-96231b3b80d8