[PATCH] D59487: [Tooling] Add more scope specifiers until spelling is not ambiguous.
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 18 06:01:18 PDT 2019
ioeric created this revision.
ioeric added reviewers: kadircet, gribozavr.
Herald added subscribers: cfe-commits, jdoerfert.
Herald added a project: clang.
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.
Repository:
rC Clang
https://reviews.llvm.org/D59487
Files:
lib/Tooling/Core/Lookup.cpp
unittests/Tooling/LookupTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59487.191070.patch
Type: text/x-patch
Size: 5964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190318/a6d70fed/attachment-0001.bin>
More information about the cfe-commits
mailing list