From: Ted Kremenek Date: Wed, 25 Feb 2009 21:08:30 +0000 (+0000) Subject: Do not automatically run the 'missing -dealloc' check until we have adequate time... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d76c6a38b8080b3255c37f787bcaf4a4724f330c;p=clang Do not automatically run the 'missing -dealloc' check until we have adequate time to make it much smarter (too much noise). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65474 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py index 9d3bd8eeb8..8e740105fd 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/tools/ccc/ccclib/Tools.py @@ -227,7 +227,8 @@ class Clang_CompileTool(Tool): cmd_args.extend(['-warn-dead-stores', '-checker-cfref', '-warn-objc-methodsigs', - '-warn-objc-missing-dealloc', + # Do not enable the missing -dealloc check. + # '-warn-objc-missing-dealloc', '-warn-objc-unused-ivars']) cmd_args.append('-analyzer-output=plist') diff --git a/utils/scan-build b/utils/scan-build index 99a799052d..6d43c3c962 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -120,7 +120,8 @@ my %AnalysesDefaultEnabled = ( '-warn-dead-stores' => 1, '-checker-cfref' => 1, '-warn-objc-methodsigs' => 1, - '-warn-objc-missing-dealloc' => 1, + # Do not enable the missing -dealloc check by default. + # '-warn-objc-missing-dealloc' => 1, '-warn-objc-unused-ivars' => 1, );