llvm-project/clang-tools-extra/unittests/clangd
Haojian Wu 48b4865683 [clangd] Limit completion results.
Summary:
* truncate symbols from static/dynamic index to the limited number
(which would save lots of cost in constructing the merged symbols).
* add an CLI option allowing to limit the number of returned completion results.
(default to 100)

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: klimek, ilya-biryukov, jkorous-apple, ioeric, cfe-commits

Differential Revision: https://reviews.llvm.org/D42484

llvm-svn: 323408
2018-01-25 09:20:09 +00:00
..
Annotations.cpp [clangd] Remove an unused lambda capture. 2017-12-20 17:22:56 +00:00
Annotations.h [clangd] Switch xrefs and documenthighlight to annotated-code unit tests. NFC 2017-12-20 16:06:05 +00:00
CMakeLists.txt [clangd] Add support for different file URI schemas. 2018-01-22 11:48:20 +00:00
ClangdTests.cpp [clangd] Pass Context to onDiagnosticsReady callback 2018-01-10 17:59:27 +00:00
CodeCompleteTests.cpp [clangd] Limit completion results. 2018-01-25 09:20:09 +00:00
CodeCompletionStringsTests.cpp [clangd] Pull CodeCompletionString handling logic into its own file and add unit test. 2017-12-20 17:24:31 +00:00
ContextTests.cpp [clangd] Introduced a Context that stores implicit data 2017-12-12 11:16:45 +00:00
FileIndexTests.cpp [clangd] Change index scope convention from "outer::inner" to "outer::inner::" 2018-01-19 22:18:21 +00:00
FuzzyMatchTests.cpp [clangd] Fix uninitialized-read found by asan 2018-01-13 16:46:26 +00:00
IndexTests.cpp [clangd] Use fuzzy match to select top N index results. 2018-01-18 08:35:04 +00:00
JSONExprTests.cpp [clangd] New conventions for JSON-marshalling functions, centralize machinery 2017-11-30 21:32:29 +00:00
Matchers.h [clangd] Switch xrefs and documenthighlight to annotated-code unit tests. NFC 2017-12-20 16:06:05 +00:00
SourceCodeTests.cpp [clangd] Add debug printers for basic protocol types. NFC 2017-12-20 10:26:53 +00:00
SymbolCollectorTests.cpp [clangd] Change index scope convention from "outer::inner" to "outer::inner::" 2018-01-19 22:18:21 +00:00
TestFS.cpp [clangd] Remove unused test param. NFC 2017-12-05 07:34:35 +00:00
TestFS.h [clangd] Remove unused test param. NFC 2017-12-05 07:34:35 +00:00
TraceTests.cpp [clangd] Implemented tracing using Context 2017-12-14 15:04:59 +00:00
URITests.cpp [clangd] Try to fix build bot failue in r323101 2018-01-22 13:03:25 +00:00
XRefsTests.cpp [clangd] Don't navigate to forward class declaration when go to definition. 2018-01-12 14:21:10 +00:00