diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2017-11-15 09:16:29 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2017-11-15 09:16:29 +0000 |
| commit | a40371bcb6567acdd961c45a453de10398d44e47 (patch) | |
| tree | 2882f50b18fce0088894566860fd5436b61633d4 /llvm/lib/MC/StringTableBuilder.cpp | |
| parent | 1102a861f59cac5f59f42547030e4316da057095 (diff) | |
| download | bcm5719-llvm-a40371bcb6567acdd961c45a453de10398d44e47.tar.gz bcm5719-llvm-a40371bcb6567acdd961c45a453de10398d44e47.zip | |
[clangd] Support returning a limited number of completion results.
Summary:
All results are scored, we only process CodeCompletionStrings for the winners.
We now return CompletionList rather than CompletionItem[] (both are valid).
sortText is now based on CodeCompletionResult::orderedName (mostly the same).
This is the first clangd-only completion option, so plumbing changed.
It requires a small clangd patch (exposing CodeCompletionResult::orderedName).
(This can't usefully be enabled yet: we don't support server-side filtering)
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D39852
llvm-svn: 318287
Diffstat (limited to 'llvm/lib/MC/StringTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

