diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2016-03-25 21:18:22 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2016-03-25 21:18:22 +0000 |
commit | b8076292abcfb10d87f3b107dd871b7327d18534 (patch) | |
tree | 3ae5c02e4cdbaa6c32c7c2594cfd8e67a1419274 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py | |
parent | 36c53fe147378109ddebed3d3f62fafcccca105a (diff) | |
download | bcm5719-llvm-b8076292abcfb10d87f3b107dd871b7327d18534.tar.gz bcm5719-llvm-b8076292abcfb10d87f3b107dd871b7327d18534.zip |
[analyzer] Add CIFIlter modeling to DeallocChecker.
The -dealloc method in CIFilter is highly unusual in that it will release
instance variables belonging to its *subclasses* if the variable name
starts with "input" or backs a property whose name starts with "input".
Subclasses should not release these ivars in their own -dealloc method --
doing so could result in an over release.
Before this commit, the DeallocChecker would warn about missing releases for
such "input" properties -- which could cause users of the analyzer to add
over releases to silence the warning.
To avoid this, DeallocChecker now treats CIFilter "input-prefixed" ivars
as MustNotReleaseDirectly and so will not require a release. Further, it
will now warn when such an ivar is directly released in -dealloc.
rdar://problem/25364901
llvm-svn: 264463
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions