Added static analysis check to see if a subclass of NSObject implements -dealloc, and whether or not that implementation calls [super dealloc].


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53075 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/NSPanel.m b/test/Analysis/NSPanel.m
index cbd0056..a24818e 100644
--- a/test/Analysis/NSPanel.m
+++ b/test/Analysis/NSPanel.m
@@ -67,7 +67,8 @@
 - (void)myMethod;
 - (void)myMethod2;
 @end
-@implementation MyClass
+
+@implementation MyClass // no-warning
 - (void)myMethod
 {
   NSPanel *panel = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 200, 200) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:(BOOL)1];