diff --git a/clang/tools/scan-build/scan-build b/clang/tools/scan-build/scan-build index e2efa44bc1a6..47d701da90eb 100755 --- a/clang/tools/scan-build/scan-build +++ b/clang/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?