forked from OSchip/llvm-project
Use 'eq' operator, and enable regular experimental checks when --experimental-checks is passed to scan-build.
llvm-svn: 88673
This commit is contained in:
parent
f80dc08059
commit
9f2ee2bb26
|
|
@ -163,6 +163,7 @@ sub Analyze {
|
|||
|
||||
if (defined $ENV{"CCC_EXPERIMENTAL_CHECKS"}) {
|
||||
push @CmdArgs,"-analyzer-experimental-internal-checks";
|
||||
push @CmdArgs,"-analyzer-experimental-checks";
|
||||
}
|
||||
|
||||
$RunAnalyzer = 1;
|
||||
|
|
|
|||
|
|
@ -1099,7 +1099,7 @@ while (@ARGV) {
|
|||
next;
|
||||
}
|
||||
|
||||
if ($arg = "--experimental-checks") {
|
||||
if ($arg eq "--experimental-checks") {
|
||||
shift @ARGV;
|
||||
$ENV{"CCC_EXPERIMENTAL_CHECKS"} = 1;
|
||||
next;
|
||||
|
|
|
|||
Loading…
Reference in New Issue