Use string comparison rather than '=='.

llvm-svn: 63095
This commit is contained in:
Ted Kremenek 2009-01-27 05:34:28 +00:00
parent bf648a3a63
commit dd62885f40
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ sub ProcessClangFailure {
mkpath $Dir;
my $prefix = "clang_crash";
if ($ErrorType == $ParserRejects) { $prefix = "clang_parser_rejects"; }
if ($ErrorType eq $ParserRejects) { $prefix = "clang_parser_rejects"; }
# Generate the preprocessed file with cc (i.e., gcc).
my ($PPH, $PPFile) = tempfile( $prefix . "_XXXXXX",