[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
Mon Oct 26 14:31:54 PDT 2009
On Oct 26, 2009, at 1:46 PM, Fariborz Jahanian wrote:
>>> 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
Spiffy, thanks Fariborz!
-Chris
More information about the cfe-commits
mailing list