<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Date: Thu, 25 Aug 2011 10:37:37 -0700<br>
From: Douglas Gregor <<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>><br>
Subject: Re: [cfe-dev] null pointer literals, warnings, and fixups<br>
To: Jeffrey Yasskin <<a href="mailto:jyasskin@google.com">jyasskin@google.com</a>><br>
Cc: cfe-dev Developers <<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>><br>
Message-ID: <<a href="mailto:E190210B-61B4-4ECD-A2C1-1839A1445803@apple.com">E190210B-61B4-4ECD-A2C1-1839A1445803@apple.com</a>><br>
Content-Type: text/plain; CHARSET=US-ASCII<br>
<br>
<br>
On Aug 25, 2011, at 10:07 AM, Jeffrey Yasskin wrote:<br>
<br>
> On Thu, Aug 25, 2011 at 9:16 AM, Douglas Gregor <<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>> wrote:<br>
>> I don't think these warnings would be suitable for Clang. Such<br>
>> style-checking transformations belong in a separate tool (e.g., like the ARC<br>
>> migrator).<br>
><br>
> Do you guys run the ARC migrator on every build?<br>
<br>
No. It's a standalone tool that will be run once for a code base.<br>
<br>
> I'm curious if<br>
> there's an open source example of how to set up a style checker you<br>
> run on every build that's not part of core clang.<br>
<br>
<br>
I don't know of any.<br>
<br>
        - Doug<br>
<br></blockquote><div><br>I've heard good things about Artistic Style (<a href="http://astyle.sourceforge.net">http://astyle.sourceforge.net</a>), 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.<br>
<br>-- Matthieu <br></div></div><br>