PING: [PATCH: c++/diagnostic/18313] Warn for pointless qualifiers on return type

Andrew Pinski pinskia@gmail.com
Sun Nov 12 21:27:00 GMT 2006


On Sun, 2006-11-12 at 22:21 +0100, Dirk Mueller wrote:
> On Sunday, 12. November 2006 20:17, Mark Mitchell wrote:
> 
> > Minor nit-pick: I tend to check !processing_template_decl first 
> 
> changed. 
> 
> > Also, what does this do with:
> >
> >   typedef const int I;
> >   I f();
> 
> it warns. I'll add it to the testcase. 

I don't think it should warn for this testcase.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list