forked from OSchip/llvm-project
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:
parent
bc38679b07
commit
b5e409fd20
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue