diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-01-30 09:21:30 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-01-30 09:21:30 +0000 |
commit | ea283c7bb84439a4d71290289bbe3c58a08a77f2 (patch) | |
tree | e2084cfa6c3a5ea97d0394893b0f5ff3d900bc30 /lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py | |
parent | f72e8653722512e3d157c607c6cbfd8223855770 (diff) | |
download | bcm5719-llvm-ea283c7bb84439a4d71290289bbe3c58a08a77f2.tar.gz bcm5719-llvm-ea283c7bb84439a4d71290289bbe3c58a08a77f2.zip |
[clangd] Enable completion index by default, limit results to 100.
Summary:
This should speed up global code completion by avoiding deserializing
preamble declarations to look up names. The tradeoff is memory usage.
Currently the index is fairly naive and may not be much faster, but there's lots
of performance headroom.
These two changes go together because results from the index get copied a couple
of times, so we should avoid it for huge sets.
Also the flag should be -completion-limit, rather than -limit-completion.
Reviewers: hokein, ioeric, ilya-biryukov
Subscribers: klimek, jkorous-apple, cfe-commits
Differential Revision: https://reviews.llvm.org/D42669
llvm-svn: 323734
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py')
0 files changed, 0 insertions, 0 deletions