[analyzer] Move ObjCSuperDeallocChecker out of the alpha package.
authorDevin Coughlin <dcoughlin@apple.com>
Wed, 2 Mar 2016 22:01:03 +0000 (22:01 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Wed, 2 Mar 2016 22:01:03 +0000 (22:01 +0000)
It will now be on by default on Darwin.

rdar://problem/6953275

llvm-svn: 262526

clang/lib/StaticAnalyzer/Checkers/Checkers.td
clang/test/Analysis/DeallocUseAfterFreeErrors.m

index 16b8279..a674af7 100644 (file)
@@ -509,14 +509,14 @@ def ObjCDeallocChecker : Checker<"Dealloc">,
   HelpText<"Warn about Objective-C classes that lack a correct implementation of -dealloc">,
   DescFile<"CheckObjCDealloc.cpp">;
 
-} // end "osx.cocoa"
-
-let ParentPackage = CocoaAlpha in {
-
 def ObjCSuperDeallocChecker : Checker<"SuperDealloc">,
   HelpText<"Warn about improper use of '[super dealloc]' in Objective-C">,
   DescFile<"ObjCSuperDeallocChecker.cpp">;
 
+} // end "osx.cocoa"
+
+let ParentPackage = CocoaAlpha in {
+
 def InstanceVariableInvalidation : Checker<"InstanceVariableInvalidation">,
   HelpText<"Check that the invalidatable instance variables are invalidated in the methods annotated with objc_instance_variable_invalidator">,
   DescFile<"IvarInvalidationChecker.cpp">;
index 2902be6..3feeb6d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify %s
 
 void clang_analyzer_warnIfReached();