cfe-dev Digest, Vol 50, Issue 72

Date: Thu, 25 Aug 2011 10:37:37 -0700
From: Douglas Gregor <>
Subject: Re: [cfe-dev] null pointer literals, warnings, and fixups
To: Jeffrey Yasskin <>
Cc: cfe-dev Developers <>
Message-ID: <>
Content-Type: text/plain; CHARSET=US-ASCII

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

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 (, 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