This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]