[cfe-commits] r65474 - in /cfe/trunk: tools/ccc/ccclib/Tools.py utils/scan-build

Ted Kremenek kremenek at apple.com
Wed Feb 25 13:08:30 PST 2009


Author: kremenek
Date: Wed Feb 25 15:08:30 2009
New Revision: 65474

URL: http://llvm.org/viewvc/llvm-project?rev=65474&view=rev
Log:
Do not automatically run the 'missing -dealloc' check until we have adequate time to make it much smarter (too much noise).

Modified:
    cfe/trunk/tools/ccc/ccclib/Tools.py
    cfe/trunk/utils/scan-build

Modified: cfe/trunk/tools/ccc/ccclib/Tools.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Tools.py?rev=65474&r1=65473&r2=65474&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Tools.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Tools.py Wed Feb 25 15:08:30 2009
@@ -227,7 +227,8 @@
             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')

Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=65474&r1=65473&r2=65474&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed Feb 25 15:08:30 2009
@@ -120,7 +120,8 @@
   '-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,
 );
 





More information about the cfe-commits mailing list