]> granicus.if.org Git - clang/commitdiff
Rename -cc1 option '-warn-objc-methodsigs' to '-analyzer-check-objc-methodsigs'.
authorTed Kremenek <kremenek@apple.com>
Fri, 5 Feb 2010 01:57:44 +0000 (01:57 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 5 Feb 2010 01:57:44 +0000 (01:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95346 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CC1Options.td
include/clang/Frontend/Analyses.def
lib/Driver/Tools.cpp
test/Analysis/ObjCRetSigs.m
tools/scan-build/scan-build

index 1d0390aaff908ff9189d8f19ca6cfde6bee685d4..610634225843e78657c8d99e079dfda74efdb39d 100644 (file)
@@ -44,7 +44,7 @@ def analysis_WarnDeadStores : Flag<"-analyzer-check-dead-stores">,
   HelpText<"Warn about stores to dead variables">;
 def analysis_WarnUninitVals : Flag<"-warn-uninit-values">,
   HelpText<"Warn about uses of uninitialized variables">;
-def analysis_WarnObjCMethSigs : Flag<"-warn-objc-methodsigs">,
+def analysis_WarnObjCMethSigs : Flag<"-analyzer-check-objc-methodsigs">,
   HelpText<"Warn about Objective-C method signatures with type incompatibilities">;
 def analysis_WarnObjCDealloc : Flag<"-warn-objc-missing-dealloc">,
   HelpText<"Warn about Objective-C classes that lack a correct implementation of -dealloc">;
index d57b2267a365ce9bd1255bac85c2963510d3d237..eb7ba92d6b7acdd6bfaaf74138c312d859ad6595 100644 (file)
@@ -34,7 +34,7 @@ ANALYSIS(WarnDeadStores, "analyzer-check-dead-stores",
 ANALYSIS(WarnUninitVals, "warn-uninit-values",
          "Warn about uses of uninitialized variables", Code)
 
-ANALYSIS(WarnObjCMethSigs, "warn-objc-methodsigs",
+ANALYSIS(WarnObjCMethSigs, "analyzer-check-objc-methodsigs",
  "Warn about Objective-C method signatures with type incompatibilities",
  ObjCImplementation)
 
index 3ee4552e73e0c364b0d51a21ed1c52601c707a76..ec1e9a9c8edadb67b25cdfc92bc9266cc0abda5e 100644 (file)
@@ -705,7 +705,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
       CmdArgs.push_back("-analyzer-check-security-syntactic");
       CmdArgs.push_back("-checker-cfref");
       CmdArgs.push_back("-analyzer-eagerly-assume");
-      CmdArgs.push_back("-warn-objc-methodsigs");
+      CmdArgs.push_back("-analyzer-check-objc-methodsigs");
       // Do not enable the missing -dealloc check.
       // '-warn-objc-missing-dealloc',
       CmdArgs.push_back("-analyzer-check-objc-unused-ivars");
index cdc81993b81f89bb057a78231b601a7cc1b81ebb..a76d7b979ee00cc08d933d96905cf1fc9c8bee2c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-methodsigs -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-methodsigs -verify %s
 
 int printf(const char *, ...);
 
index 044feeae4d0816d99de407cb494602fdef32d4bc..1c856d9a5060d044fc3fb873c5ca4407e551c9af 100755 (executable)
@@ -123,7 +123,7 @@ close (PIPE);
 my %AnalysesDefaultEnabled = (
   '-analyzer-check-dead-stores' => 1,
   '-checker-cfref' => 1,
-  '-warn-objc-methodsigs' => 1,
+  '-analyzer-check-objc-methodsigs' => 1,
   # Do not enable the missing -dealloc check by default.
   #  '-warn-objc-missing-dealloc' => 1,
   '-analyzer-check-objc-unused-ivars' => 1,