llvm-project/clang-tools-extra/clangd/test
Kadir Cetinkaya daf3cb3b8a
[clangd][index-sever] Limit results in repsonse
This is to prevent server from being DOS'd by possible malicious
parties issuing requests that can yield huge responses.

One possible drawback is on rename workflow. As it really requests all
occurences, but it has an internal limit on 50 files currently.
We are putting the limit on 10000 elements per response So for rename to regress
one should have 10k refs to a symbol in less than 50 files. This seems unlikely
and we fix it if there are complaints by giving up on the response based on the
number of files covered instead.

Differential Revision: https://reviews.llvm.org/D101914
2021-05-11 08:22:23 +02:00
..
Inputs [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
index-serialization [clangd] Index local classes, virtual and overriding methods. 2021-01-19 16:18:48 +01:00
remote-index [clangd][index-sever] Limit results in repsonse 2021-05-11 08:22:23 +02:00
xpc
CMakeLists.txt Introduce clangd-server-monitor tool 2021-05-04 12:48:21 +02:00
ast-no-range.test [clangd] Allow AST request without range 2021-04-23 21:35:42 +02:00
ast.test [clangd] Add textDocument/ast extension method to dump the AST 2020-11-20 01:13:28 +01:00
background-index.test [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
call-hierarchy.test [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
check-fail.test [clangd] ExpandAutoType: Do not offer code action on lambdas. 2020-12-08 20:03:16 +01:00
check-lines.test [clangd] Add --check-lines to restrict --check to specific lines 2021-04-09 13:47:20 +02:00
check.test [clangd] Drop dependence on standard library in check.test 2020-10-02 09:53:06 +02:00
code-action-request.test [clangd] Support CodeActionParams.only 2020-10-29 09:44:08 +01:00
compile-commands-path-in-initialize.test [clangd][test] Make sed git bash compliant 2020-04-20 08:27:15 +02:00
completion-auto-trigger.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
completion-snippets.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
completion.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
config.test [clangd] Provide suggestions with invalid config keys 2020-12-15 18:16:17 +00:00
crash-non-added-files.test [clangd] Move DraftStore from ClangdLSPServer into ClangdServer. 2021-03-02 22:58:50 +01:00
delimited-input-comment-at-the-end.test
dependency-output.test [clangd] Disable dependency-output lit test on windows 2020-04-25 13:55:38 +02:00
diagnostic-category.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
diagnostics-no-tidy.test [clangd] Make version in PublishDiagnosticsParams optional 2020-05-11 10:31:10 +02:00
diagnostics-notes.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
diagnostics.test [clangd] Make version in PublishDiagnosticsParams optional 2020-05-11 10:31:10 +02:00
did-change-configuration-params.test [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
document-link.test [clangd] Don't rely on builtin headers for document-link.test. 2021-02-01 15:36:34 +01:00
execute-command.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
exit-eof.test [clangd] Shutdown cleanly on signals. 2019-11-27 12:38:49 +01:00
exit-with-shutdown.test
exit-without-shutdown.test
filestatus.test
fixits-codeaction.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
fixits-command.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
fixits-embed-in-diagnostic.test [clangd] Mark code action as "preferred" if it's the sole quickfix action 2020-09-30 10:11:30 +02:00
formatting.test [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
hover.test [clangd][Hover] Change arrow in return type back to → 2020-01-24 13:05:21 +01:00
implementations.test [clangd] textDocument/implementation (LSP layer) 2020-11-23 13:50:44 +01:00
index-tools.test
initialize-params-invalid.test
initialize-params.test [clangd] Fix test failure in initialize-params.test 2021-05-03 01:37:09 -04:00
initialize-sequence.test
input-mirror.test
lit.cfg.py [clangd] Ensure we test for compatibility of serialized index format 2020-11-13 17:06:23 +01:00
lit.local.cfg
lit.site.cfg.py.in [clangd] Ensure we test for compatibility of serialized index format 2020-11-13 17:06:23 +01:00
log.test [clangd] Introduce a CommandLineConfigProvider 2021-03-11 13:35:05 +01:00
memory_tree.test [clangd] Use URIs instead of paths in the index file list 2021-03-06 10:47:05 +03:00
metrics.test [clangd] Add CSV export for trace metrics 2020-05-19 13:35:31 +02:00
path-mappings.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
protocol.test [clangd] Expose Code Completion score to the client 2020-02-13 15:05:18 +01:00
references.test [clangd] Respect ReferencesParams.context.includeDeclarations 2021-02-01 17:07:02 +01:00
rename.test [clangd] Extend the rename API. 2020-10-02 16:03:44 +02:00
request-reply.test Make code-action-request.test and request-reply.test pass on Windows. 2019-10-14 01:00:33 +00:00
selection-range.test [clangd] Add semantic selection to ClangdLSPServer. 2019-09-24 13:38:33 +00:00
semantic-tokens-refresh.test [clangd] Introduce client state invalidation 2021-03-04 11:15:10 +01:00
semantic-tokens.test [clangd] Remove support for pre-standard semanticHighlighting notification 2021-02-10 22:09:03 +01:00
signature-help-with-offsets.test [clangd] Support offsets for parameters in signatureHelp 2019-06-04 09:36:59 +00:00
signature-help.test
spaces-in-delimited-input.test
symbol-info.test convert another test to unix line endings 2019-10-14 02:21:12 +00:00
symbols.test [clangd] Populate detail field in document symbols 2021-02-18 16:53:41 +01:00
system-include-extractor.test [clangd] When querying drivers by binary, look in PATH too 2021-01-05 12:54:07 +01:00
target_info.test Fix target_info.test on Windows with a hack 2020-04-13 13:14:06 -07:00
test-uri-posix.test
test-uri-windows.test [clangd] Fixes in lit tests 2020-07-22 16:00:34 +03:00
textdocument-didchange-fail.test
too_large.test
trace.test
tweaks-format.test
type-hierarchy.test [clangd] Follow-up to fix lit-test bustage in type-hierarchy.test 2020-06-15 12:18:21 -04:00
unsupported-method.test
utf8.test
version.test [clangd] Track document versions, include them with diags, enhance logs 2020-03-05 01:22:32 +01:00
xrefs.test