[cfe-commits] r137740 - in /cfe/trunk: lib/StaticAnalyzer/Checkers/Checkers.td test/Analysis/keychainAPI.m

Anna Zaks ganna at apple.com
Tue Aug 16 13:02:05 PDT 2011


Author: zaks
Date: Tue Aug 16 15:02:05 2011
New Revision: 137740

URL: http://llvm.org/viewvc/llvm-project?rev=137740&view=rev
Log:
MacOSKeychainAPIChecker: Turn it on by default.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/Checkers.td
    cfe/trunk/test/Analysis/keychainAPI.m

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/Checkers.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/Checkers.td?rev=137740&r1=137739&r2=137740&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/Checkers.td (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/Checkers.td Tue Aug 16 15:02:05 2011
@@ -269,16 +269,12 @@
   HelpText<"Evaluate calls to OSAtomic functions">,
   DescFile<"OSAtomicChecker.cpp">;
 
-} // end "macosx"
-
-let ParentPackage = OSXExperimental in {
-
-def MacOSKeychainAPIChecker : Checker<"KeychainAPI">,
-  InPackage<OSXExperimental>,
+def MacOSKeychainAPIChecker : Checker<"SecKeychainAPI">,
+  InPackage<OSX>,
   HelpText<"Check for proper uses of Secure Keychain APIs">,
   DescFile<"MacOSKeychainAPIChecker.cpp">;
 
-} // end "osx.experimental"
+} // end "macosx"
 
 let ParentPackage = Cocoa in {
 

Modified: cfe/trunk/test/Analysis/keychainAPI.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/keychainAPI.m?rev=137740&r1=137739&r2=137740&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/keychainAPI.m (original)
+++ cfe/trunk/test/Analysis/keychainAPI.m Tue Aug 16 15:02:05 2011
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=experimental.osx.KeychainAPI %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-checker=osx.SecKeychainAPI %s -verify
 
 // Fake typedefs.
 typedef unsigned int OSStatus;





More information about the cfe-commits mailing list