aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-03-04 18:09:58 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-03-04 18:09:58 +0000
commita604679897a85c1a95a33dc618bccb37f51c6360 (patch)
treed4358c6d12694f2578bdcc7ac99757e23e30ef36 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parentebef6f977137f438536702cf2d51ee3c38145683 (diff)
downloadllvm-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