On Oct 23, 2009, at 9:47 PM, Chris Lattner wrote:

>
> On Oct 23, 2009, at 2:01 PM, Fariborz Jahanian wrote:
>
>> Author: fjahanian
>> Date: Fri Oct 23 16:01:39 2009
>> New Revision: 84968
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=84968&view=rev
>> Log:
>> Diagnose misuse of '.*' and '->*' operators during parse
>> instead of crashing in code gen.
>
> 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.

- Fariborz

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to