diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-02-25 21:08:30 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-02-25 21:08:30 +0000 |
| commit | 32a59b231592414c7df6c9795b7f939a444bc1d8 (patch) | |
| tree | 8f755962f60d8782be8c2f682da4338f3cf73b03 | |
| parent | 4208835eec108b1816b53e54ce777b77dedc247a (diff) | |
| download | bcm5719-llvm-32a59b231592414c7df6c9795b7f939a444bc1d8.tar.gz bcm5719-llvm-32a59b231592414c7df6c9795b7f939a444bc1d8.zip | |
Do not automatically run the 'missing -dealloc' check until we have adequate time to make it much smarter (too much noise).
llvm-svn: 65474
| -rw-r--r-- | clang/tools/ccc/ccclib/Tools.py | 3 | ||||
| -rwxr-xr-x | clang/utils/scan-build | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/clang/tools/ccc/ccclib/Tools.py b/clang/tools/ccc/ccclib/Tools.py index 9d3bd8eeb8a..8e740105fd2 100644 --- a/clang/tools/ccc/ccclib/Tools.py +++ b/clang/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/clang/utils/scan-build b/clang/utils/scan-build index 99a799052d8..6d43c3c9626 100755 --- a/clang/utils/scan-build +++ b/clang/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, ); |

