[analyzer] Make osx.cocos.CFContainersSyntax a default checker.
llvm-svn: 149258
This commit is contained in:
parent
71022cac1f
commit
6523e46941
|
@ -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">;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue