summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commite51362e7f7a53acdad8be65e8c99be3aa4e7fdfb (patch)
tree2e8a3d4d820c9bc28618e6436eef280d06750b54 /llvm/include
parent2d1df6be879105388bf57ecece509a917e27f25d (diff)
downloadbcm5719-llvm-e51362e7f7a53acdad8be65e8c99be3aa4e7fdfb.tar.gz
bcm5719-llvm-e51362e7f7a53acdad8be65e8c99be3aa4e7fdfb.zip
[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. llvm-svn: 179221
Diffstat (limited to 'llvm/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud