[PATCH] D29176: [change-namespace] add leading '::' to references in new namespace when name conflict is possible.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 26 06:12:12 PST 2017


ioeric created this revision.

For example, when we change 'na' to "nb::nc", we need to add leading '::' to
references "::nc::X" in the changed namespace.


https://reviews.llvm.org/D29176

Files:
  change-namespace/ChangeNamespace.cpp
  unittests/change-namespace/ChangeNamespaceTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29176.85894.patch
Type: text/x-patch
Size: 6113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170126/77e8df41/attachment.bin>


More information about the cfe-commits mailing list