[analyzer] ObjCDeallocChecker: Only check for nil-out when type is retainable.
authorDevin Coughlin <dcoughlin@apple.com>
Thu, 3 Mar 2016 21:38:39 +0000 (21:38 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Thu, 3 Mar 2016 21:38:39 +0000 (21:38 +0000)
commit578a20a82eaf029aa9c480bfa7bf43878313cfd4
tree6dd39c4a979284750737052c8612c85644d488de
parentc1a7c97c1b5f62f918faee0ccf190c53ad519de1
[analyzer] ObjCDeallocChecker: Only check for nil-out when type is retainable.

This fixes a crash when setting a property of struct type in -dealloc.

llvm-svn: 262659
clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
clang/test/Analysis/DeallocMissingRelease.m