llvm-project/clang-tools-extra/test/clangd
Marc-Andre Laperle 1be69701c3 [clangd] Implementation of textDocument/documentSymbol
Summary:
An AST-based approach is used to retrieve the document symbols rather than an
in-memory index query. The index is not an ideal fit to achieve this because of
the file-centric query being done here whereas the index is suited for
project-wide queries. Document symbols also includes more symbols and need to
keep the order as seen in the file.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>

Subscribers: tomgr, ilya-biryukov, ioeric, MaskRay, jkorous, cfe-commits

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

llvm-svn: 336386
2018-07-05 19:35:01 +00:00
..
Inputs [clangd] Commit a heinous crime to make test hermetic and not depend on the standard library being around. 2018-04-24 18:40:44 +00:00
completion-snippets.test [clangd] UI for completion items that would trigger include insertion. 2018-06-15 13:34:18 +00:00
completion.test [clangd] UI for completion items that would trigger include insertion. 2018-06-15 13:34:18 +00:00
crash-non-added-files.test [clangd] Try to fix failures on clang-x64-ninja-win7 build bot. 2018-02-28 20:31:00 +00:00
delimited-input-comment-at-the-end.test [clangd][tests] Fix handling of EOF in delimited input 2018-04-23 15:55:07 +00:00
diagnostics.test [clangd] Revamp handling of diagnostics. 2018-03-12 15:28:22 +00:00
execute-command.test [clangd] Revamp handling of diagnostics. 2018-03-12 15:28:22 +00:00
extra-flags.test [clangd] Revamp handling of diagnostics. 2018-03-12 15:28:22 +00:00
fixits.test [clangd] Revamp handling of diagnostics. 2018-03-12 15:28:22 +00:00
formatting.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
hover.test [clangd] Hover should return null when not hovering over anything. 2018-06-04 10:37:16 +00:00
initialize-params-invalid.test [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
initialize-params.test [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
input-mirror.test [clangd] Cut input-mirror.test down to size. NFC 2018-02-06 10:51:22 +00:00
lit.local.cfg [clangd] Revert broken r318329 and disable tests on PS4 2017-11-15 21:33:56 +00:00
protocol.test [clangd] UI for completion items that would trigger include insertion. 2018-06-15 13:34:18 +00:00
rename.test [clangd] Fix unicode handling, using UTF-16 where LSP requires it. 2018-04-27 11:59:28 +00:00
shutdown-with-exit.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
shutdown-without-exit.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
signature-help.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
spaces-in-delimited-input.test [clangd][tests] Fix delimiter handling 2018-04-23 15:58:42 +00:00
symbols.test [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
test-uri-posix.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
test-uri-windows.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
textdocument-didchange-fail.test Attempt to fix clangd test on Windows by wildcarding drive letters 2018-03-27 17:44:12 +00:00
too_large.test [clangd] Rewrite JSON dispatcher loop using C IO (FILE*) instead of std::istream. 2018-06-05 09:34:46 +00:00
trace.test [clangd] Keep only a limited number of idle ASTs in memory 2018-06-01 10:08:43 +00:00
unsupported-method.test [clangd] Support simpler JSON-RPC stream parsing for lit tests. 2018-02-06 10:47:30 +00:00
xrefs.test [clangd] Fix failing lit test. 2018-03-09 14:16:46 +00:00