[cfe-commits] r84968 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td lib/Parse/ParseExpr.cpp lib/Sema/SemaExprCXX.cpp test/Parser/cxx-parse-member-pointer-op.cpp

Chris Lattner clattner at apple.com
Sat Oct 24 14:54:45 PDT 2009


On Oct 24, 2009, at 11:24 AM, Fariborz Jahanian wrote:

>> Hi Fariborz,
>>
>> Would it be feasible to offer a fixit hint to convert .*  into ->*  
>> (and visaversa) if the parse would work when the other operator was  
>> provided?  This is similar to . <-> ->
>
> In this particular patch,  both use of  .* and ->* before a type is  
> caught as error. What you point out is a separate but related issue  
> and
> I will look into it.

Ok thanks, no specific hurry on that.  I don't even know if we  
'fixit' . to -> yet.  It might be best to just file a bugzilla about  
this.

-Chris



More information about the cfe-commits mailing list