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

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 22:48:47 PST 2016


No worries, thanks for getting to it!

On Thu, Feb 18, 2016 at 6:27 PM, Davide Italiano <davide at freebsd.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160218/93059c3e/attachment.html>


More information about the llvm-commits mailing list