]> granicus.if.org Git - clang/commitdiff
Do not automatically run the 'missing -dealloc' check until we have adequate time...
authorTed Kremenek <kremenek@apple.com>
Wed, 25 Feb 2009 21:08:30 +0000 (21:08 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 25 Feb 2009 21:08:30 +0000 (21:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65474 91177308-0d34-0410-b5e6-96231b3b80d8

tools/ccc/ccclib/Tools.py
utils/scan-build

index 9d3bd8eeb8ab031afbe08e048059cb869b34289d..8e740105fd2806e68ef95450c5d0c1c9314b357f 100644 (file)
@@ -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')
index 99a799052d86c8b6cff20ef811f86fc5c63ae669..6d43c3c9626f4fafa5610c102a5de8d4be27e048 100755 (executable)
@@ -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,
 );