diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-06-07 12:49:17 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-06-07 12:49:17 +0000 |
commit | 4caa85129f7347ba43ce7f8f5950c951fd87489f (patch) | |
tree | 589acb8ecc36d3c6c75aca1a90615b518a36f42f /lldb/packages/Python/lldbsuite/test | |
parent | b557846083c6c7c1b6a1acab5459b141c8ad57d6 (diff) | |
download | bcm5719-llvm-4caa85129f7347ba43ce7f8f5950c951fd87489f.tar.gz bcm5719-llvm-4caa85129f7347ba43ce7f8f5950c951fd87489f.zip |
[clangd] Code completion: drop explicit injected names/operators, ignore Sema priority
Summary:
Now we have most of Sema's code completion signals incorporated in Quality,
which will allow us to give consistent ranking to sema/index results.
Therefore we can/should stop using Sema priority as an explicit signal.
This fixes some issues like namespaces always having a terrible score.
The most important missing signals are:
- Really dumb/rarely useful completions like:
SomeStruct().^SomeStruct
SomeStruct().^operator=
SomeStruct().~SomeStruct()
We already filter out destructors, this patch adds injected names and
operators to that list.
- type matching the expression context.
Ilya has a plan to add this in a way that's compatible with indexes
(design doc should be shared real soon now!)
Reviewers: ioeric
Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits
Differential Revision: https://reviews.llvm.org/D47871
llvm-svn: 334192
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions