diff options
author | Anna Zaks <ganna@apple.com> | 2013-04-25 00:41:32 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-04-25 00:41:32 +0000 |
commit | 3d8f462d58a4be21f9f5d287253b9b2565506ca5 (patch) | |
tree | 896410961dc5c92f91640b21d951c7b7e22d5e0e /unittests/Format/FormatTest.cpp | |
parent | c873b51aea82cb7232c86c0012b9f493a62ef003 (diff) |
[analyzer] Fix a crash in RetainCountChecker - we should not rely on CallEnter::getCallExpr to return non-NULL
We get a CallEnter with a null expression, when processing a destructor. All other users of
CallEnter::getCallExpr work fine with null as return value.
(Addresses PR15832, Thanks to Jordan for reducing the test case!)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions