[cfe-commits] r88673 - in /cfe/trunk/utils: ccc-analyzer scan-build
Ted Kremenek
kremenek at apple.com
Fri Nov 13 10:49:48 PST 2009
Author: kremenek
Date: Fri Nov 13 12:49:48 2009
New Revision: 88673
URL: http://llvm.org/viewvc/llvm-project?rev=88673&view=rev
Log:
Use 'eq' operator, and enable regular experimental checks when --experimental-checks is passed to scan-build.
Modified:
cfe/trunk/utils/ccc-analyzer
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=88673&r1=88672&r2=88673&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Fri Nov 13 12:49:48 2009
@@ -163,6 +163,7 @@
if (defined $ENV{"CCC_EXPERIMENTAL_CHECKS"}) {
push @CmdArgs,"-analyzer-experimental-internal-checks";
+ push @CmdArgs,"-analyzer-experimental-checks";
}
$RunAnalyzer = 1;
Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=88673&r1=88672&r2=88673&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Fri Nov 13 12:49:48 2009
@@ -1099,7 +1099,7 @@
next;
}
- if ($arg = "--experimental-checks") {
+ if ($arg eq "--experimental-checks") {
shift @ARGV;
$ENV{"CCC_EXPERIMENTAL_CHECKS"} = 1;
next;
More information about the cfe-commits
mailing list