[cfe-commits] Patch: Add fix-it for digraph errors involving "<::"
Richard Trieu
rtrieu at google.com
Wed Mar 30 16:21:45 PDT 2011
Detect when the string "<::" is found in code after a cast or template name
and is interpreted as "[:" because of the digraph "<:". When found, give an
error with a fix-it to add whitespace between the "<" and "::". Also,
repair the token stream and recover parsing afterwards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110330/cab7996a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digraph-error.patch
Type: text/x-patch
Size: 5947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110330/cab7996a/attachment.bin>
More information about the cfe-commits
mailing list