]> granicus.if.org Git - clang/commitdiff
Go ahead and show experimental checkers in the scan-build "-h" output.
authorTed Kremenek <kremenek@apple.com>
Fri, 24 Aug 2012 06:49:34 +0000 (06:49 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 24 Aug 2012 06:49:34 +0000 (06:49 +0000)
They are labeled as not being enabled-by-default, and how else
are users going to test them.

Fixes <rdar://problem/11654923>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162543 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/scan-build

index e2efa44bc1a62a6cddc66933689a1af26a2332ae..47d701da90eb7b55056c8d1fa22a8fe8284cc767 100755 (executable)
@@ -1154,16 +1154,7 @@ if (!$foundCheckers) {
 }
 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?