[cfe-dev] cfe-dev Digest, Vol 50, Issue 72

Matthieu Monrocq matthieu.monrocq at gmail.com
Fri Aug 26 09:41:28 PDT 2011


>
> Date: Thu, 25 Aug 2011 10:37:37 -0700
> From: Douglas Gregor <dgregor at apple.com>
> Subject: Re: [cfe-dev] null pointer literals, warnings, and fixups
> To: Jeffrey Yasskin <jyasskin at google.com>
> Cc: cfe-dev Developers <cfe-dev at cs.uiuc.edu>
> Message-ID: <E190210B-61B4-4ECD-A2C1-1839A1445803 at apple.com>
> Content-Type: text/plain; CHARSET=US-ASCII
>
>
> On Aug 25, 2011, at 10:07 AM, Jeffrey Yasskin wrote:
>
> > On Thu, Aug 25, 2011 at 9:16 AM, Douglas Gregor <dgregor at apple.com>
> wrote:
> >> I don't think these warnings would be suitable for Clang. Such
> >> style-checking transformations belong in a separate tool (e.g., like the
> ARC
> >> migrator).
> >
> > Do you guys run the ARC migrator on every build?
>
> No. It's a standalone tool that will be run once for a code base.
>
> > I'm curious if
> > there's an open source example of how to set up a style checker you
> > run on every build that's not part of core clang.
>
>
> I don't know of any.
>
>        - Doug
>
>
I've heard good things about Artistic Style (http://astyle.sourceforge.net),
however I have some doubt regarding its full C++ support given the highly
complicated syntax. It is limited to indentation though, and does not
handle, I think, naming conventions for example.

-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110826/eecec5c3/attachment.html>


More information about the cfe-dev mailing list