HomePhabricator

[Tooling] Add more scope specifiers until spelling is not ambiguous.

Description

[Tooling] Add more scope specifiers until spelling is not ambiguous.

Summary:
Previously, when the renamed spelling is ambiguous, we simply use the
full-qualfied name (with leading "::"). This patch makes it try adding
additional specifiers one at a time until name is no longer ambiguous,
which allows us to find better disambuguated spelling.

Reviewers: kadircet, gribozavr

Subscribers: jdoerfert, cfe-commits

Tags: #clang

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

Details

Committed
ioericMar 19 2019, 3:12 AM
Differential Revision
D59487: [Tooling] Add more scope specifiers until spelling is not ambiguous.
Branches
Unknown
Tags
Unknown