llvm-project/clang-tools-extra/test/clangd
Sam McCall 16e7070e3e [clangd] Embed fixes as CodeAction, instead of clangd_fixes. Clean up serialization.
Summary:
CodeAction provides us with a standard way of representing fixes inline, so
use it, replacing our existing ad-hoc extension.

After this, it's easy to serialize diagnostics using the structured
toJSON/Protocol.h mechanism rather than assembling JSON ad-hoc.

Reviewers: hokein, arphaman

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

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

llvm-svn: 345119
2018-10-24 07:59:38 +00:00
..
Inputs [clangd] Cleanup FuzzyFindRequest filtering limit semantics 2018-09-13 14:27:03 +00:00
compile-commands-path-in-initialize.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
completion-snippets.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
completion.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
crash-non-added-files.test [clangd] Lay JSONRPCDispatcher to rest. 2018-10-18 12:32:04 +00:00
delimited-input-comment-at-the-end.test [clangd] Lay JSONRPCDispatcher to rest. 2018-10-18 12:32:04 +00:00
diagnostic-category.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
diagnostics.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
did-change-configuration-params.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
execute-command.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
exit-with-shutdown.test [clangd] Enforce rules around "initialize" request, and create ClangdServer lazily. 2018-10-18 14:41:50 +00:00
exit-without-shutdown.test [clangd] Enforce rules around "initialize" request, and create ClangdServer lazily. 2018-10-18 14:41:50 +00:00
extra-flags.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
fixits-codeaction.test [clangd] Send CodeAction responses to textDocument/codeAction (LSP 3.8) 2018-10-16 16:29:41 +00:00
fixits-command.test [clangd] Lay JSONRPCDispatcher to rest. 2018-10-18 12:32:04 +00:00
fixits-embed-in-diagnostic.test [clangd] Embed fixes as CodeAction, instead of clangd_fixes. Clean up serialization. 2018-10-24 07:59:38 +00:00
formatting.test [clangd][tests] Fix typo in tests - invalid LSP exit message 2018-08-15 15:50:45 +00:00
hover.test [clangd] Hover should return null when not hovering over anything. 2018-06-04 10:37:16 +00:00
index-tools.test Mark index-tools.test as REQUIRES: shell so that it does not run with the internal lit shell which does not support "if" 2018-09-14 20:51:07 +00:00
initialize-params-invalid.test [clangd] Add xrefs LSP boilerplate implementation. 2018-09-05 11:53:07 +00:00
initialize-params.test [clangd] Add xrefs LSP boilerplate implementation. 2018-09-05 11:53:07 +00:00
initialize-sequence.test [clangd] Enforce rules around "initialize" request, and create ClangdServer lazily. 2018-10-18 14:41:50 +00:00
input-mirror.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +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
references.test [clangd] Fix references.test assertions 2018-09-05 13:17:51 +00:00
rename.test [clangd] Lay JSONRPCDispatcher to rest. 2018-10-18 12:32:04 +00:00
signature-help.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
spaces-in-delimited-input.test [clangd] Lay JSONRPCDispatcher to rest. 2018-10-18 12:32:04 +00:00
symbols.test [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
test-uri-posix.test [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
test-uri-windows.test [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
textdocument-didchange-fail.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +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] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
unsupported-method.test [clangd][tests] Fix typo in tests - invalid LSP exit message 2018-08-15 15:50:45 +00:00
xrefs.test [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00