summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LatencyPriorityQueue.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2017-11-15 09:16:29 +0000
committerSam McCall <sam.mccall@gmail.com>2017-11-15 09:16:29 +0000
commita40371bcb6567acdd961c45a453de10398d44e47 (patch)
tree2882f50b18fce0088894566860fd5436b61633d4 /llvm/lib/CodeGen/LatencyPriorityQueue.cpp
parent1102a861f59cac5f59f42547030e4316da057095 (diff)
downloadbcm5719-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/CodeGen/LatencyPriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud