diff options
| author | Devin Coughlin <dcoughlin@apple.com> | 2016-03-04 18:09:58 +0000 |
|---|---|---|
| committer | Devin Coughlin <dcoughlin@apple.com> | 2016-03-04 18:09:58 +0000 |
| commit | a604679897a85c1a95a33dc618bccb37f51c6360 (patch) | |
| tree | d4358c6d12694f2578bdcc7ac99757e23e30ef36 /clang/lib/AST | |
| parent | ebef6f977137f438536702cf2d51ee3c38145683 (diff) | |
| download | bcm5719-llvm-a604679897a85c1a95a33dc618bccb37f51c6360.tar.gz bcm5719-llvm-a604679897a85c1a95a33dc618bccb37f51c6360.zip | |
[analyzer] Add diagnostic in ObjCDeallocChecker for use of -dealloc instead of -release.
In dealloc methods, the analyzer now warns when -dealloc is called directly on
a synthesized retain/copy ivar instead of -release. This is intended to find mistakes of
the form:
- (void)dealloc {
[_ivar dealloc]; // Mistaken call to -dealloc instead of -release
[super dealloc];
}
rdar://problem/16227989
llvm-svn: 262729
Diffstat (limited to 'clang/lib/AST')
0 files changed, 0 insertions, 0 deletions

