llvm-project/clang-tools-extra/unittests/clangd
Kirill Bobyrev 0a75766c3d [clangd] Allow consuming limited number of items
This patch modifies `consume` function to allow retrieval of limited
number of symbols. This is the "cheap" implementation of top-level
limiting iterator. In the future we would like to have a complete limit
iterator implementation to insert it into the query subtrees, but in the
meantime this version would be enough for a fully-functional
proof-of-concept Dex implementation.

Reviewers: ioeric, ilya-biryukov

Reviewed by: ioeric

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

llvm-svn: 339426
2018-08-10 11:50:44 +00:00
..
Annotations.cpp [clangd] Add line and column number to the index symbol. 2018-04-13 08:30:39 +00:00
Annotations.h [clangd] Add line and column number to the index symbol. 2018-04-13 08:30:39 +00:00
CMakeLists.txt [clangd] Introduce Dex symbol index search tokens 2018-07-25 10:34:57 +00:00
ClangdTests.cpp [clangd] Added a test for preambles and -isystem 2018-07-09 09:10:22 +00:00
ClangdUnitTests.cpp [clangd] capitalize diagnostic messages 2018-08-03 20:43:28 +00:00
CodeCompleteTests.cpp [clangd] Fix a "-Wdangling-else" compiler warning in the test. 2018-08-10 08:34:16 +00:00
CodeCompletionStringsTests.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
ContextTests.cpp [clangd] Introduced a Context that stores implicit data 2017-12-12 11:16:45 +00:00
DexIndexTests.cpp [clangd] Allow consuming limited number of items 2018-08-10 11:50:44 +00:00
DraftStoreTests.cpp [clangd] Fix unicode handling, using UTF-16 where LSP requires it. 2018-04-27 11:59:28 +00:00
FileDistanceTests.cpp [clangd] Cleanup unittest: URIs. NFC. 2018-07-04 09:54:23 +00:00
FileIndexTests.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
FindSymbolsTests.cpp [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
FuzzyMatchTests.cpp [clangd] FuzzyMatch exposes an API for its word segmentation. NFC 2018-07-20 08:01:37 +00:00
GlobalCompilationDatabaseTests.cpp Parse .h files as objective-c++ if we don't have a compile command. 2018-04-20 11:35:17 +00:00
HeadersTests.cpp [clangd] Incorporate transitive #includes into code complete proximity scoring. 2018-07-03 08:09:29 +00:00
IndexTests.cpp [clangd] Track origins of symbols (various indexes, Sema). 2018-07-05 06:20:41 +00:00
Matchers.h [clangd] Fix crash when CompilerInvocation can't be created. 2018-02-09 13:51:57 +00:00
QualityTests.cpp Added functionality to suggest FixIts for conversion of '->' to '.' and vice versa. 2018-08-08 08:59:29 +00:00
SourceCodeTests.cpp [clangd] Fix unicode handling, using UTF-16 where LSP requires it. 2018-04-27 11:59:28 +00:00
SymbolCollectorTests.cpp [clangd] Fix (most) naming warnings from clang-tidy. NFC 2018-07-26 12:05:31 +00:00
SyncAPI.cpp [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
SyncAPI.h [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
TUSchedulerTests.cpp [clangd] Record the file being processed in a TUScheduler thread in context. 2018-08-09 09:05:45 +00:00
TestFS.cpp [clangd] Do not rebuild AST if inputs have not changed 2018-07-26 09:21:07 +00:00
TestFS.h [clangd] Do not rebuild AST if inputs have not changed 2018-07-26 09:21:07 +00:00
TestScheme.h [clangd] Allow using customized include path in URI. 2018-04-09 15:09:44 +00:00
TestTU.cpp [clangd] Fix (most) naming warnings from clang-tidy. NFC 2018-07-26 12:05:31 +00:00
TestTU.h [clangd] Treat class constructor as in the same scope as the class in ranking. 2018-07-05 08:14:04 +00:00
ThreadingTests.cpp [clangd] Tracing: name worker threads, and enforce naming scheduled async tasks 2018-02-19 09:56:28 +00:00
TraceTests.cpp Fix misuse of llvm::YAML in clangd test. 2018-03-23 19:16:07 +00:00
URITests.cpp [clangd] Use workspace root path as hint path for resolving URIs in workspace/symbol 2018-06-19 09:33:53 +00:00
XRefsTests.cpp [clangd] Implement hover for "auto" and "decltype" 2018-07-02 16:28:34 +00:00