commit | 2a1814a643810e24775d54a9888b54b92e7147ea | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Nov 13 18:49:48 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Nov 13 18:49:48 2009 +0000 |
tree | 4a6e98f9453ed90dc76aeef610b576014521bed7 | |
parent | 8382cf57b722f130f1a6b45380639871c07271c1 [diff] [blame] |
Use 'eq' operator, and enable regular experimental checks when --experimental-checks is passed to scan-build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88673 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/scan-build b/utils/scan-build index 1e07ae7..ca95676 100755 --- a/utils/scan-build +++ b/utils/scan-build
@@ -1099,7 +1099,7 @@ next; } - if ($arg = "--experimental-checks") { + if ($arg eq "--experimental-checks") { shift @ARGV; $ENV{"CCC_EXPERIMENTAL_CHECKS"} = 1; next;