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

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

Reviewers: bkramer

Reviewed By: bkramer

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D29176

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@293182 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed