diff options
| author | Devin Coughlin <dcoughlin@apple.com> | 2016-10-12 23:57:05 +0000 |
|---|---|---|
| committer | Devin Coughlin <dcoughlin@apple.com> | 2016-10-12 23:57:05 +0000 |
| commit | 0bd37a1a367dffdf4513a3068c2f51290366e3f3 (patch) | |
| tree | 810a173ae3dcc60f2be38e238bc062c0e04401f8 /clang/cmake | |
| parent | 1255c1965655d9200559ba33ddd7bd2b11847dab (diff) | |
| download | bcm5719-llvm-0bd37a1a367dffdf4513a3068c2f51290366e3f3.tar.gz bcm5719-llvm-0bd37a1a367dffdf4513a3068c2f51290366e3f3.zip | |
[analyzer] DeallocChecker: Don't warn about directly-set IBOutlet ivars on macOS
On macOS (but not iOS), if an ObjC property has no setter, the nib-loading code
for an IBOutlet is documented as directly setting the backing ivar without
retaining the value -- even if the property is 'retain'.
This resulted in false positives from the DeallocChecker for code that did not
release such ivars in -dealloc.
To avoid these false positives, treat IBOutlet ivars that back a property
without a setter as having an unknown release requirement in macOS.
rdar://problem/28507353
llvm-svn: 284084
Diffstat (limited to 'clang/cmake')
0 files changed, 0 insertions, 0 deletions

