llvm-project/clang-tools-extra/clangd/test
Kadir Cetinkaya 83411bf06f
[clangd] Support for standard type hierarchy
This is mostly a mechanical change to adapt standard type hierarchy
support proposed in LSP 3.17 on top of clangd's existing extension support.

This does mainly two things:
- Incorporate symbolids for all the parents inside resolution parameters, so
  that they can be retrieved from index later on. This is a new code path, as
  extension always resolved them eagerly.
- Propogate parent information when resolving children, so that at least one
  branch of parents is always preserved. This is to address a shortcoming in the
  extension.

This doesn't drop support for the extension, but it's deprecated from now on and
will be deleted in upcoming releases. Currently we use the same struct
internally but don't serialize extra fields.

Fixes https://github.com/clangd/clangd/issues/826.

Differential Revision: https://reviews.llvm.org/D131385
2022-08-17 09:29:15 +02:00
..
Inputs
index-serialization [clangd] Extend SymbolOrigin, stop serializing it 2022-01-13 08:26:12 +01:00
remote-index [clangd] Introduce a log-prefix flag to remote-index-server 2021-06-25 16:51:29 +02:00
xpc
CMakeLists.txt [cmake] Provide CURRENT_TOOLS_DIR centrally, replacing CLANG_TOOLS_DIR 2022-03-25 20:22:01 +01: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
call-hierarchy.test [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
check-fail.test [clangd] Enable relative configs in check mode 2021-07-30 14:23:48 +02:00
check-lines.test [clangd] Enable relative configs in check mode 2021-07-30 14:23:48 +02:00
check.test [clangd] Enable relative configs in check mode 2021-07-30 14:23:48 +02:00
code-action-request.test [clangd] Support CodeActionParams.only 2020-10-29 09:44:08 +01:00
compile-commands-path-in-initialize.test
completion-auto-trigger.test
completion-snippets.test
completion.test
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
crash-parse.test [clangd] Add integration test for crash handling 2021-10-27 11:52:31 +02:00
crash-preamble.test [clangd] Add integration test for crash handling 2021-10-27 11:52:31 +02:00
delimited-input-comment-at-the-end.test
dependency-output.test
diagnostic-category.test
diagnostics-no-tidy.test
diagnostics-notes.test
diagnostics-tidy.test [clangd] Change the url for clang-tidy check documentation 2022-08-05 08:42:52 +01:00
did-change-configuration-params.test Revert "Revert "[clangd] Adjust compile flags to contain only the requested file as input"" 2021-07-27 14:49:53 +02: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
exit-eof.test
exit-with-shutdown.test
exit-without-shutdown.test
filestatus.test
fixits-codeaction.test
fixits-command.test
fixits-embed-in-diagnostic.test
formatting.test
hover.test
implementations.test [clangd] textDocument/implementation (LSP layer) 2020-11-23 13:50:44 +01:00
index-tools.test
indexer.test [clangd] Unify compiler invocation creation 2021-07-30 15:22:51 +02:00
initialize-params-invalid.test
initialize-params.test [clangd] Support for standard type hierarchy 2022-08-17 09:29:15 +02:00
initialize-sequence.test
inlayHints.test [clangd] Support for standard inlayHint protocol 2022-05-10 18:59:15 +02:00
input-mirror.test
lit.cfg.py Revert "[llvm] cmake config groundwork to have ZSTD in LLVM" 2022-07-08 13:48:05 -07:00
lit.local.cfg
lit.site.cfg.py.in Revert "[llvm] cmake config groundwork to have ZSTD in LLVM" 2022-07-08 13:48:05 -07: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
path-mappings.test
protocol.test
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
selection-range.test
semantic-tokens-refresh.test [clangd] Introduce client state invalidation 2021-03-04 11:15:10 +01:00
semantic-tokens.test Add semantic token modifier for non-const reference parameter 2021-09-13 00:51:09 -04:00
signature-help-with-offsets.test
signature-help.test [clangd] Provide documentation as MarkupContent in signaturehelp 2021-12-10 12:58:08 +01:00
spaces-in-delimited-input.test
symbol-info.test [clangd] Add decl/def support to SymbolDetails 2022-08-01 14:42:19 -04: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
test-uri-posix.test
test-uri-windows.test
textdocument-didchange-fail.test
too_large.test
trace.test
tweaks-format.test
type-definition.test [clangd] Implement textDocument/typeDefinition 2022-01-13 22:15:10 +01:00
type-hierarchy-ext.test [clangd] Support for standard type hierarchy 2022-08-17 09:29:15 +02:00
type-hierarchy.test [clangd] Support for standard type hierarchy 2022-08-17 09:29:15 +02:00
unsupported-method.test
utf8.test
version.test
xrefs.test