diff options
author | Eric Liu <ioeric@google.com> | 2019-03-19 10:12:15 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2019-03-19 10:12:15 +0000 |
commit | 52b49ab3fd92339cec96156396f6b7a6d48e17b2 (patch) | |
tree | 6a7d797648ddb94be7d7fbed176d58bbe7ad5095 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 8665802202689b4014bde7f5aa64f0a3c1a045f7 (diff) | |
download | llvm-52b49ab3fd92339cec96156396f6b7a6d48e17b2.zip llvm-52b49ab3fd92339cec96156396f6b7a6d48e17b2.tar.gz llvm-52b49ab3fd92339cec96156396f6b7a6d48e17b2.tar.bz2 |
[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
llvm-svn: 356446
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions