[analyzer] Make osx.cocos.CFContainersSyntax a default checker.

llvm-svn: 149258
This commit is contained in:
Anna Zaks 2012-01-30 19:12:37 +00:00
parent 71022cac1f
commit 6523e46941
2 changed files with 5 additions and 5 deletions

View File

@ -364,14 +364,14 @@ def RetainCountChecker : Checker<"RetainCount">,
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">;

View File

@ -1,4 +1,4 @@
// 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;