HelpText<"Check for leaks and improper reference count management">,
DescFile<"RetainCountChecker.cpp">;
+def ObjCContainersASTChecker : Checker<"CFContainersSyntax">,
+ HelpText<"Check for common pitfalls when using 'CFArray', 'CFDictionary', 'CFSet' APIs">,
+ DescFile<"ObjCContainersASTChecker.cpp">;
+
} // end "cocoa"
let ParentPackage = CocoaExperimental in {
-def ObjCContainersASTChecker : Checker<"ContainerAPI">,
- HelpText<"Check for common pitfalls when using 'CFArray', 'CFDictionary', 'CFSet' APIs">,
- DescFile<"ObjCContainersASTChecker.cpp">;
-
def ObjCContainersChecker : Checker<"Containers">,
HelpText<"Deep checks for common pitfalls when using 'CFArray' APIs">,
DescFile<"ObjCContainersChecker.cpp">;
-// RUN: %clang_cc1 -analyze -analyzer-checker=experimental.osx.cocoa.ContainerAPI,experimental.osx.cocoa.Containers -analyzer-store=region -triple x86_64-apple-darwin -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-checker=osx.cocoa.CFContainersSyntax,experimental.osx.cocoa.Containers -analyzer-store=region -triple x86_64-apple-darwin -verify %s
typedef const struct __CFAllocator * CFAllocatorRef;
typedef const struct __CFString * CFStringRef;