llvm-project/clang-tools-extra/test/clangd
Alex Lorenz 0ce8a7a039 [clangd] send diagnostic categories only when 'categorySupport'
capability was given by the client

After r339738 Clangd started sending categories with each diagnostic, but that
broke the eglot client. This commit puts the categories behind a capability to
fix that breakage.

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

llvm-svn: 340449
2018-08-22 20:30:06 +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
compile-commands-path-in-initialize.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
compile-commands-path.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
completion-snippets.test Fix lint tests for D50449 2018-08-13 14:32:19 +00:00
completion.test Fix lint tests for D50449 2018-08-13 14:32:19 +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
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] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
exit-with-shutdown.test [clangd][tests] Rename tests of clangd instance termination 2018-08-15 15:58:05 +00:00
exit-without-shutdown.test [clangd][tests] Rename tests of clangd instance termination 2018-08-15 15:58:05 +00:00
extra-flags.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
fixits-embed-in-diagnostic.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +00:00
fixits.test [clangd] send diagnostic categories only when 'categorySupport' 2018-08-22 20:30:06 +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
initialize-params-invalid.test [clangd] Implementation of textDocument/documentSymbol 2018-07-05 19:35:01 +00:00
initialize-params.test [clangd][tests] Fix typo in tests - invalid LSP exit message 2018-08-15 15:50:45 +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
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 [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 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][tests] Fix typo in tests - invalid LSP exit message 2018-08-15 15:50:45 +00:00
xrefs.test [clangd] Fix failing lit test. 2018-03-09 14:16:46 +00:00