[llvm] r260470 - [llvm-nm] Minor style change. Prefer EXIT_SUCCESS over 0.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 15:56:18 PST 2016


Author: davide
Date: Wed Feb 10 17:56:18 2016
New Revision: 260470

URL: http://llvm.org/viewvc/llvm-project?rev=260470&view=rev
Log:
[llvm-nm] Minor style change. Prefer EXIT_SUCCESS over 0.

Modified:
    llvm/trunk/tools/llvm-nm/llvm-nm.cpp

Modified: llvm/trunk/tools/llvm-nm/llvm-nm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-nm/llvm-nm.cpp?rev=260470&r1=260469&r2=260470&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-nm/llvm-nm.cpp (original)
+++ llvm/trunk/tools/llvm-nm/llvm-nm.cpp Wed Feb 10 17:56:18 2016
@@ -1312,5 +1312,5 @@ int main(int argc, char **argv) {
   if (HadError)
     return 1;
 
-  return 0;
+  return EXIT_SUCCESS;
 }




More information about the llvm-commits mailing list