From: Ted Kremenek Date: Tue, 27 Jan 2009 05:34:28 +0000 (+0000) Subject: Use string comparison rather than '=='. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f0e9325adee74323514469ccc9a78f4facd66b0;p=clang 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 a3b7851247..2a9a99367d 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -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",