Forward declarations in moved namespaces should be moved back to the old
namespaces. We should also move template class forward declarations.
Also fix a bug that moves forward declarations of nested classes.
Paths
| Differential D27515
[change-namespace] move template class forward-declarations and don't move fwd-decls in classes. ClosedPublic Authored by ioeric on Dec 7 2016, 4:32 AM.
Details
Summary Forward declarations in moved namespaces should be moved back to the old Also fix a bug that moves forward declarations of nested classes.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 7 2016, 6:27 AM Closed by commit rL288908: [change-namespace] move template class forward-declarations and don't move fwd… (authored by ioeric). · Explain WhyDec 7 2016, 6:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 80586 clang-tools-extra/trunk/change-namespace/ChangeNamespace.h
clang-tools-extra/trunk/change-namespace/ChangeNamespace.cpp
clang-tools-extra/trunk/unittests/change-namespace/ChangeNamespaceTests.cpp
|