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>

llvm-svn: 162543
This commit is contained in:
Ted Kremenek 2012-08-24 06:49:34 +00:00
parent bc38679b07
commit b5e409fd20
1 changed files with 0 additions and 9 deletions

View File

@ -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?