Changes in directory llvm/lib/System/Unix:
Program.inc updated: 1.18 -> 1.19
---
Log message:

Turn an if into an else if.


---
Diffs of the changes:  (+2 -2)

 Program.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/System/Unix/Program.inc
diff -u llvm/lib/System/Unix/Program.inc:1.18 
llvm/lib/System/Unix/Program.inc:1.19
--- llvm/lib/System/Unix/Program.inc:1.18       Fri Jun  9 15:43:11 2006
+++ llvm/lib/System/Unix/Program.inc    Wed Jul 12 17:37:18 2006
@@ -208,12 +208,12 @@
   // Return the proper exit status. 0=success, >0 is programs' exit status,
   // <0 means a signal was returned, -9999999 means the program dumped core.
   int result = 0;
-  if (WIFEXITED (status))
+  if (WIFEXITED(status))
     result = WEXITSTATUS(status);
   else if (WIFSIGNALED(status))
     result = 0 - WTERMSIG(status);
 #ifdef WCOREDUMP
-  if (WCOREDUMP(status))
+  else if (WCOREDUMP(status))
     result |= 0x01000000;
 #endif
   return result;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to