summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>2018-04-23 20:00:52 +0000
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>2018-04-23 20:00:52 +0000
commitb387b6e6dc3a7b1b1a9b5551109d124ce2afda76 (patch)
tree2fe04dff202708ec861a117124c9c91ad5560461 /llvm/lib/Support/Host.cpp
parentf72b2085766355021597809ac99a23e1dd32e035 (diff)
downloadbcm5719-llvm-b387b6e6dc3a7b1b1a9b5551109d124ce2afda76.tar.gz
bcm5719-llvm-b387b6e6dc3a7b1b1a9b5551109d124ce2afda76.zip
[clangd] Implementation of workspace/symbol request
Summary: This is a basic implementation of the "workspace/symbol" request which is used to find symbols by a string query. Since this is similar to code completion in terms of result, this implementation reuses the "fuzzyFind" in order to get matches. For now, the scoring algorithm is the same as code completion and improvements could be done in the future. The index model doesn't contain quite enough symbols for this to cover common symbols like methods, enum class enumerators, functions in unamed namespaces, etc. The index model will be augmented separately to achieve this. Reviewers: sammccall, ilya-biryukov Reviewed By: sammccall Subscribers: jkorous, hokein, simark, sammccall, klimek, mgorny, ilya-biryukov, mgrang, jkorous-apple, ioeric, MaskRay, cfe-commits Differential Revision: https://reviews.llvm.org/D44882 llvm-svn: 330637
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud