[PATCHv3] implement -Wold-style-cast
Ondřej Hošek
ondra.hosek at gmail.com
Tue Nov 26 19:32:38 PST 2013
Hi Alp,
On Wed, Nov 27, 2013 at 4:22 AM, Alp Toker <alp at nuanti.com> wrote:
> This one is pretty much what we want, except that the check needs to be
> moved up to ActOnCastExpr() to avoid diagnosing template instantiations or
> skipping diags due to early returns.
Ah, okay.
> I've made that change, padded out the tests with a few more cases like
> (void**)x; and typedef void VOID; which we now get right and landed in
> r195808.
Sweet! I'll inform the objc-language list.
Cheers,
~~ Ondra
More information about the cfe-commits
mailing list