diff options
author | John McCall <rjmccall@apple.com> | 2009-10-12 21:59:07 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-10-12 21:59:07 +0000 |
commit | 5a881bb09928b7ade891efc680088aaad276f8d6 (patch) | |
tree | ef404b9efd3fb4ac34ac1bdaf717189e0bb48987 /lib/Index/SelectorMap.cpp | |
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
Diffstat (limited to 'lib/Index/SelectorMap.cpp')
0 files changed, 0 insertions, 0 deletions