[PATCH] D47762: [clangd] Boost code completion results that are narrowly scoped (local, members)
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 5 00:44:16 PDT 2018
sammccall created this revision.
sammccall added a reviewer: ioeric.
Herald added subscribers: cfe-commits, jkorous, MaskRay, ilya-biryukov, klimek.
This signal is considered a relevance rather than a quality signal because it's
dependent on the query (the fact that it's completion, and implicitly the query
context).
This is part of the effort to reduce reliance on Sema priority, so we can have
consistent ranking between Index and Sema results.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D47762
Files:
clangd/ClangdUnit.cpp
clangd/ClangdUnit.h
clangd/CodeComplete.cpp
clangd/Quality.cpp
clangd/Quality.h
unittests/clangd/QualityTests.cpp
unittests/clangd/TestTU.cpp
unittests/clangd/TestTU.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47762.149910.patch
Type: text/x-patch
Size: 11344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180605/e1581bc3/attachment.bin>
More information about the cfe-commits
mailing list