]> granicus.if.org Git - clang/commit
[analyzer] Address Jordan's code review for r167813.
authorAnna Zaks <ganna@apple.com>
Tue, 13 Nov 2012 19:47:40 +0000 (19:47 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 13 Nov 2012 19:47:40 +0000 (19:47 +0000)
commit2ccecfaa4852c134191d4075d94e09399ab46fea
tree1fb5a120ab1fedb015662df5bccd0056e82379bf
parent6e649737898ffb627c377fd8fa0a437d0a42ae4a
[analyzer] Address Jordan's code review for r167813.

This simplifies logic, fixes a bug, and adds a test case.
Thanks Jordan!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167868 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/malloc.mm