[cfe-commits] Patch: Give a fix-it for improperly nested namespace
Richard Trieu
rtrieu at google.com
Fri May 6 14:20:06 PDT 2011
When improperly using "::" to nest namespaces, give a fix-it to correct it.
Parsing will also recover as if they were properly nested.
namespace foo::bar {
}
Will result in a fix-it at "::" to change to " { namespace " and an
additional right bracket at the end.
Patch attached and available through Code Review:
http://codereview.appspot.com/4452052/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110506/66851b09/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improperly_nested_namespaces.patch
Type: text/x-patch
Size: 4194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110506/66851b09/attachment.bin>
More information about the cfe-commits
mailing list