aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-04-10 21:42:06 +0000
committerAnna Zaks <ganna@apple.com>2013-04-10 21:42:06 +0000
commit7a87e520e42c1e58c358e3a9a436ef17f551fd13 (patch)
tree4462e7eba5edfea7dbb7a7a4f8878c7168866e33 /lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parent27d99dd714895564b526b786284a46b40f53be01 (diff)
[analyzer] When reporting a leak in RetainCount checker due to an early exit from init, step into init.
The heuristic here (proposed by Jordan) is that, usually, if a leak is due to an early exit from init, the allocation site will be a call to alloc. Note that in other cases init resets self to [super init], which becomes the allocation site of the object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions