llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

clang-sa doesn't warn for missing -dealloc, or missing -release for synthesized @​strong properties

Open llvmbot opened this issue 13 years ago • 3 comments

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.

llvmbot avatar Jan 09 '13 08:01 llvmbot

Support for this was turned by default on Darwin in r262526.

devincoughlin avatar Mar 15 '16 01:03 devincoughlin

...i.e. revive the experimental ObjCDeallocChecker. Tracked by rdar://problem/5934302.

belkadan avatar Feb 23 '13 01:02 belkadan

assigned to @tkremenek

llvmbot avatar Jan 09 '13 08:01 llvmbot