summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rwxr-xr-xclang/utils/ccc-analyzer2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/ccc-analyzer b/clang/utils/ccc-analyzer
index a3b7851247e..2a9a99367d9 100755
--- a/clang/utils/ccc-analyzer
+++ b/clang/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",
OpenPOWER on IntegriCloud