For example, when we change 'na' to "nb::nc", we need to add leading '::' to
references "::nc::X" in the changed namespace.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3308 Build 3308: arc lint + arc unit
Paths
| Differential D29176
[change-namespace] add leading '::' to references in new namespace when name conflict is possible. ClosedPublic Authored by ioeric on Jan 26 2017, 6:12 AM.
Details Summary For example, when we change 'na' to "nb::nc", we need to add leading '::' to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 26 2017, 7:06 AM Closed by commit rL293182: [change-namespace] add leading '::' to references in new namespace when name… (authored by ioeric). · Explain WhyJan 26 2017, 7:20 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 85894 change-namespace/ChangeNamespace.cpp
unittests/change-namespace/ChangeNamespaceTests.cpp
|
This could use llvm::is_contained