r354644 - [analyzer] MIGChecker: Enable by default as `osx.MIG'.
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 21 16:18:46 PST 2019
Author: dergachev
Date: Thu Feb 21 16:18:46 2019
New Revision: 354644
URL: http://llvm.org/viewvc/llvm-project?rev=354644&view=rev
Log:
[analyzer] MIGChecker: Enable by default as `osx.MIG'.
With r354643, the checker is feature-rich and polished enough.
rdar://problem/35380337
Differential Revision: https://reviews.llvm.org/D58397
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Checkers/Checkers.td
cfe/trunk/test/Analysis/mig.mm
Modified: cfe/trunk/include/clang/StaticAnalyzer/Checkers/Checkers.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Checkers/Checkers.td?rev=354644&r1=354643&r2=354644&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Checkers/Checkers.td (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Checkers/Checkers.td Thu Feb 21 16:18:46 2019
@@ -712,6 +712,11 @@ def MacOSKeychainAPIChecker : Checker<"S
HelpText<"Check for proper uses of Secure Keychain APIs">,
Documentation<HasDocumentation>;
+def MIGChecker : Checker<"MIG">,
+ HelpText<"Find violations of the Mach Interface Generator "
+ "calling convention">,
+ Documentation<NotDocumented>;
+
def ObjCPropertyChecker : Checker<"ObjCProperty">,
HelpText<"Check for proper uses of Objective-C properties">,
Documentation<NotDocumented>;
@@ -828,15 +833,6 @@ def OSObjectCStyleCast : Checker<"OSObje
} // end "optin.osx"
-let ParentPackage = OSXAlpha in {
-
-def MIGChecker : Checker<"MIG">,
- HelpText<"Find violations of the Mach Interface Generator "
- "calling convention">,
- Documentation<NotDocumented>;
-
-} // end "alpha.osx"
-
let ParentPackage = CocoaAlpha in {
def IvarInvalidationModeling : Checker<"IvarInvalidationModeling">,
Modified: cfe/trunk/test/Analysis/mig.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/mig.mm?rev=354644&r1=354643&r2=354644&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/mig.mm (original)
+++ cfe/trunk/test/Analysis/mig.mm Thu Feb 21 16:18:46 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_analyze_cc1 -w -analyzer-checker=core,alpha.osx.MIG\
+// RUN: %clang_analyze_cc1 -w -analyzer-checker=core,osx.MIG\
// RUN: -analyzer-output=text -fblocks -verify %s
typedef unsigned uint32_t;
More information about the cfe-commits
mailing list