[cfe-commits] r162543 - /cfe/trunk/tools/scan-build/scan-build

Ted Kremenek kremenek at apple.com
Thu Aug 23 23:49:34 PDT 2012


Author: kremenek
Date: Fri Aug 24 01:49:34 2012
New Revision: 162543

URL: http://llvm.org/viewvc/llvm-project?rev=162543&view=rev
Log:
Go ahead and show experimental checkers in the scan-build "-h" output.
They are labeled as not being enabled-by-default, and how else
are users going to test them.

Fixes <rdar://problem/11654923>

Modified:
    cfe/trunk/tools/scan-build/scan-build

Modified: cfe/trunk/tools/scan-build/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/scan-build?rev=162543&r1=162542&r2=162543&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Fri Aug 24 01:49:34 2012
@@ -1154,16 +1154,7 @@
 }
 else {
   print("\nAVAILABLE CHECKERS:\n\n");
-  my $skip = 0;
   while(<FROM_CHILD>) {
-    if (/experimental/) {
-      $skip = 1;
-      next;
-    }
-    if ($skip) {
-      next if (!/^\s\s[^\s]/);
-      $skip = 0;
-    }
     s/^\s\s//;
     if (/^([^\s]+)/) {
       # Is the checker enabled?





More information about the cfe-commits mailing list