Rename -cc1 option '-warn-objc-methodsigs' to '-analyzer-check-objc-methodsigs'.

llvm-svn: 95346
This commit is contained in:
Ted Kremenek 2010-02-05 01:57:44 +00:00
parent 2d8ef71ae6
commit 61b506aa8f
5 changed files with 5 additions and 5 deletions

View 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">;

View 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)

View 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");

View 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 *, ...);

View File

@ -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,