Use string comparison rather than '=='.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63095 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index a3b7851..2a9a993 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -49,7 +49,7 @@
   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",