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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 18:27:46 PST 2016


On Wed, Feb 10, 2016 at 4:11 PM, David Blaikie <dblaikie at gmail.com> wrote:
> I doubt we're terribly consistent about that (I see 7 cases of "return
> EXIT_SUCCESS" across all of llvm/clang - I imagine we have many more main
> functions than that...
>
> Also, in C++ you can just omit it entirely and let main return - it's
> implicitly return 0.
>

My mail filter decided to ate this e-mail. r261300. Sorry for the delay.

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list