[PATCHv2] implement -Wold-style-cast

Dmitri Gribenko gribozavr at gmail.com
Mon Nov 25 23:18:08 PST 2013


On Mon, Nov 25, 2013 at 11:11 PM, Alp Toker <alp at nuanti.com> wrote:
> In light of this, and considering also that we don't usually make an effort
> to produce FixIts for warning-level diagnostics in Sema, the original patch
> to the parser by Ondřej looks fine to me. Dmitri, is that OK with you?

Yes, this is fine for me.  Of course, the original patch still needs
to be updated to silence the warning in case of (void) casts -- is
this what GCC does?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/




More information about the cfe-commits mailing list