diff options
author | Sam McCall <sam.mccall@gmail.com> | 2017-12-01 16:35:50 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2017-12-01 16:35:50 +0000 |
commit | 9fbecd5b0dc4eded9846e35590bf5224f8cb9dce (patch) | |
tree | de94d391618b5a81e7300bb0826f6fd977dfd260 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | 904d1a895c52bb5e1630703b7ed1a7a8e0255e05 (diff) | |
download | bcm5719-llvm-9fbecd5b0dc4eded9846e35590bf5224f8cb9dce.tar.gz bcm5719-llvm-9fbecd5b0dc4eded9846e35590bf5224f8cb9dce.zip |
[clangd] Filter completion results by fuzzy-matching identifiers.
Summary:
This allows us to limit the number of results we return and still allow them
to be surfaced by refining a query (D39852).
The initial algorithm is very conservative - it accepts a completion if the
filter is any case-insensitive sub-sequence. It does not attempt to rank items
based on match quality.
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D39882
llvm-svn: 319552
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions