diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-01-19 14:34:02 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-01-19 14:34:02 +0000 |
commit | 545a20d90b8e5b89ad97e8da274bc05bf17920eb (patch) | |
tree | ae7259aaece5ff1cb5b59298602ccb3c7dc956ab /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | b065dabd103ece6b8d5d01f8342d344b5bc589d7 (diff) | |
download | bcm5719-llvm-545a20d90b8e5b89ad97e8da274bc05bf17920eb.tar.gz bcm5719-llvm-545a20d90b8e5b89ad97e8da274bc05bf17920eb.zip |
[clangd] Merge index-provided completions with those from Sema.
Summary:
- we match on USR, and do a field-by-field merge if both have results
- scoring is post-merge, with both sets of information available
(for now, sema priority is used if available, static score for index results)
- limit is applied to the complete result set (previously index ignored limit)
- CompletionItem is only produces for the returned results
- If the user doesn't type a scope, we send the global scope for completion
(we can improve this after D42073)
Reviewers: ioeric
Subscribers: klimek, ilya-biryukov, mgrang, cfe-commits
Differential Revision: https://reviews.llvm.org/D42181
llvm-svn: 322945
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions