[dexp] Change FuzzyFind to also print scope of symbols
authorKadir Cetinkaya <kadircet@google.com>
Fri, 14 Dec 2018 14:17:18 +0000 (14:17 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Fri, 14 Dec 2018 14:17:18 +0000 (14:17 +0000)
commit1b65b376ae45a335177a8c3f6f5bf1efa77255cc
treedbde952e4417b14741127d480ee516aadf961122
parent1d0d86ae40fbc7b6dfc2b39098c9fe4e47e3a710
[dexp] Change FuzzyFind to also print scope of symbols

Summary:
When there are multiple symbols in the result of a fuzzy find with the
same name, one has to perform an additional query to figure out which of those
symbols are coming from the "interesting" scope. This patch prints the scope in
fuzzy find results to get rid of the second symbol.

Reviewers: hokein

Subscribers: ilya-biryukov, ioeric, jkorous, arphaman, cfe-commits

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

llvm-svn: 349152
clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp