[cfe-commits] r55501 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Thu Aug 28 14:28:55 PDT 2008
Author: kremenek
Date: Thu Aug 28 16:28:55 2008
New Revision: 55501
URL: http://llvm.org/viewvc/llvm-project?rev=55501&view=rev
Log:
Use explicit variable instead of $?
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=55501&r1=55500&r2=55501&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Thu Aug 28 16:28:55 2008
@@ -110,14 +110,14 @@
push @CmdArgs,"--analyzer-viz-egraph-ubigraph";
}
- system $Cmd, at CmdArgs;
+ my $Result = system $Cmd, at 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");
}
More information about the cfe-commits
mailing list