[cfe-dev] [patch] Support explicit C++ member operator syntax
porterj at alum.rit.edu
Sat Aug 29 22:37:50 CDT 2009
Attached is a patch to add support for explicitly referring to member
operators in C++, e.g. x.operator++(). It supports both overloaded
operators and conversion operators.
The patch also contains a fix in the same area of the code to eliminate
a crash when compiling syntactically-incorrect code as part of a
member-reference (e.g. x.int). That crash was actually my fault anyway,
since it came about from adding support for qualified-ids in class
member access. If you think the fix should be a separate patch, let me
know and I'll pull them apart.
There are also tests for both parts of the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9836 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/cfe-dev/attachments/20090829/340f8d03/attachment.bin
More information about the cfe-dev