[cfe-commits] r127460 - in /cfe/trunk: lib/Sema/SemaType.cpp test/SemaCXX/return.cpp

Rafael Avila de Espindola rafael.espindola at gmail.com
Fri Mar 11 07:54:01 PST 2011


> If we want to warn on extraneous qualifiers for conversions functions, I
> feel like that should be a separate warning tailored to the situation.
> Calling it a 'return type' is a bit confusing.

True. Also, is the const in

class foo  {
   operator int * const ();
};

really redundant? Are there cases where that operator would be selected 
but one without a const would not?

Cheers,
Rafael



More information about the cfe-commits mailing list