From 160b3a5460509f1adf4361d221c5c858f7b34191 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 24 Aug 2012 06:49:34 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162543 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/scan-build/scan-build | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index e2efa44bc1..47d701da90 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -1154,16 +1154,7 @@ if (!$foundCheckers) { } else { print("\nAVAILABLE CHECKERS:\n\n"); - my $skip = 0; while() { - if (/experimental/) { - $skip = 1; - next; - } - if ($skip) { - next if (!/^\s\s[^\s]/); - $skip = 0; - } s/^\s\s//; if (/^([^\s]+)/) { # Is the checker enabled? -- 2.40.0