[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
Fariborz Jahanian
fjahanian at apple.com
Mon Oct 26 13:46:46 PDT 2009
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 . <-> ->
Done in http://llvm.org/viewvc/llvm-project?view=rev&revision=85153
- Fariborz
>
>
> -Chris
>
More information about the cfe-commits
mailing list