[PATCH] D25771: [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 19 07:39:03 PDT 2016


ioeric created this revision.
ioeric added a reviewer: hokein.
ioeric added a subscriber: cfe-commits.

when replacing symbol references in moved namespaces, trying to make the replace
name as short as possible by considering UsingDecl (i.e. UsingShadow) and
UsingDirectiveDecl (i.e. using namespace decl).


https://reviews.llvm.org/D25771

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25771.75150.patch
Type: text/x-patch
Size: 24680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161019/74ecd331/attachment-0001.bin>


More information about the cfe-commits mailing list