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/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | ebef6f977137f438536702cf2d51ee3c38145683 (diff) | |
download | llvm-a604679897a85c1a95a33dc618bccb37f51c6360.zip llvm-a604679897a85c1a95a33dc618bccb37f51c6360.tar.gz llvm-a604679897a85c1a95a33dc618bccb37f51c6360.tar.bz2 |
[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/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions