aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-08-24 06:49:34 +0000
committerTed Kremenek <kremenek@apple.com>2012-08-24 06:49:34 +0000
commit160b3a5460509f1adf4361d221c5c858f7b34191 (patch)
tree190d0c3361b4b00e5ae720fac58e84acfe58bd85
parent7fd90b03a28df0626fdb44d05be9ddcdb2562686 (diff)
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> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162543 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xtools/scan-build/scan-build9
1 files changed, 0 insertions, 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(<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?