diff options
author | Anna Zaks <ganna@apple.com> | 2013-03-29 22:32:38 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-03-29 22:32:38 +0000 |
commit | 84e8a960ad76b3c7ca550b4cc92a1b90ed16d5c1 (patch) | |
tree | b2d5121c65e16919512dca50c9a1669154a11a5e /lib/StaticAnalyzer/Core/FunctionSummary.cpp | |
parent | 4de4715ad02aa8c9437a9e0e2854a0ccc71a3188 (diff) |
[analyzer] Address Jordan’s review of r178309 - do not register an extra visitor for nil receiver
We can check if the receiver is nil in the node that corresponds to the StmtPoint of the message send.
At that point, the receiver is guaranteed to be live. We will find at least one unreclaimed node due to
my previous commit (look for StmtPoint instead of PostStmt) and the fact that the nil receiver nodes are tagged.
+ a couple of extra tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/FunctionSummary.cpp')
0 files changed, 0 insertions, 0 deletions