llvm-project
llvm-project copied to clipboard
clang-sa doesn't warn for missing -dealloc, or missing -release for synthesized @​strong properties
| Bugzilla Link | 14869 |
| Resolution | FIXED |
| Resolved on | Mar 14, 2016 18:35 |
| Version | 3.1 |
| OS | All |
| Attachments | Sample code |
| Reporter | LLVM Bugzilla Contributor |
| CC | @devincoughlin,@belkadan |
Extended Description
Expect that clang-sa will carp about the missing -dealloc in Foo, and that it will carp about the missing [_name release] in -[Bar dealloc].
It does neither.
Support for this was turned by default on Darwin in r262526.
...i.e. revive the experimental ObjCDeallocChecker. Tracked by rdar://problem/5934302.
assigned to @tkremenek