[PATCH] [analysis] Add test for missing -dealloc method in classes with an ivar

David Kilzer ddkilzer at kilzer.net
Fri Aug 22 04:20:07 PDT 2014


I would have added a similar test for a class with a @property, but I need to fix a couple of bugs before posting that patch.

Currently the checker doesn't warn at all for classes with no -dealloc method and a (retain) @property, and after fixing that issue, leaving out the @synthesize statement causes the checker to crash (apparently because it's trying to attach the warning to the @synthesize statement when it doesn't exist).

http://reviews.llvm.org/D5023






More information about the cfe-commits mailing list