Use explicit variable instead of $?


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55501 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 97554a8..c46b6e9 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -110,14 +110,14 @@
     push @CmdArgs,"--analyzer-viz-egraph-ubigraph";
   }
   
-  system $Cmd,@CmdArgs;
+  my $Result = system $Cmd,@CmdArgs;
 
    # Did the command die because of a signal?
-   if ($? & 127 and $Cmd eq $Clang and defined $HtmlDir) {
+   if ($Result & 127 and $Cmd eq $Clang and defined $HtmlDir) {
      ProcessClangFailure($Lang, $file, \@CmdArgsSansAnalyses, $HtmlDir,
                           "Crash");
    }
-   elsif ($?) {
+   elsif ($Result) {
      ProcessClangFailure($Lang, $file, \@CmdArgsSansAnalyses, $HtmlDir,
                           "Parser Rejects");
    }