aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-25 21:08:30 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-25 21:08:30 +0000
commitd76c6a38b8080b3255c37f787bcaf4a4724f330c (patch)
treea924c7925dcd91da73bb1b5a9e399d69174922fe
parent0334a4ec63c43ac9ed13faa30fbcfc7697828ffd (diff)
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
-rw-r--r--tools/ccc/ccclib/Tools.py3
-rwxr-xr-xutils/scan-build3
2 files changed, 4 insertions, 2 deletions
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,
);