[PATCH] Add a check to flag the usage of C-style casts (Google Style).

Alp Toker alp at nuanti.com
Wed Jun 25 10:17:43 PDT 2014


On 25/06/2014 14:06, Alexander Kornienko wrote:
> On Wed, Jun 25, 2014 at 10:48 AM, Alp Toker <alp at nuanti.com 
> <mailto:alp at nuanti.com>> wrote:
>
>     How about just using -Wold-style-cast?
>
>
> I thought, it was agreed upon, that the -Wold-style-cast warning isn't 
> going to suggest automatic fixes: 
> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131125/094121.html. 
> However, this check is going to.
>
> Any other concerns?
>

Hmm, if this is identical to -Wold-style-cast why is it going into 
clang-tidy/google/?

There doesn't seem to be anything Google-specific at all here, any more 
than the equivalent compiler flag in clang is Nuanti-specific.

Alp.


-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list