llvm-project/clang-tools-extra/clangd
Benjamin Kramer 9297af60db [clangd] Fix missing "message" key when responding with unsupported method
The language server protocol dictates that a ResponseError should have a
[message string][1] describing the error. This adds a simple message to the
error and a simple test.

[1]: https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#response-message

Patch by Raoul Wols!

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

llvm-svn: 314119
2017-09-25 17:16:47 +00:00
..
clients/clangd-vscode [clangd] Add support for snippet completions 2017-09-12 13:57:14 +00:00
tool Fix clangd when built with LLVM_LINK_LLVM_DYLIB=ON 2017-09-25 14:08:35 +00:00
CMakeLists.txt [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
ClangdLSPServer.cpp [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
ClangdLSPServer.h [clangd] Add support for snippet completions 2017-09-12 13:57:14 +00:00
ClangdServer.cpp [clangd] Fixed crash on MacOS. 2017-09-20 19:32:06 +00:00
ClangdServer.h [clangd] Fixed crash on MacOS. 2017-09-20 19:32:06 +00:00
ClangdUnit.cpp [clangd] Put inacessible items to the end of completion list. 2017-09-20 15:09:14 +00:00
ClangdUnit.h [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
ClangdUnitStore.cpp [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
ClangdUnitStore.h [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
DraftStore.cpp Fixing compilation failures on buildbots. 2017-05-16 10:06:20 +00:00
DraftStore.h [clangd] Serialize onDiagnosticsReady callbacks for the same file. 2017-09-20 12:58:55 +00:00
GlobalCompilationDatabase.cpp [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
GlobalCompilationDatabase.h [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
JSONRPCDispatcher.cpp [clangd] Fix missing "message" key when responding with unsupported method 2017-09-25 17:16:47 +00:00
JSONRPCDispatcher.h [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
Logger.cpp [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
Logger.h [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
Path.h Restored r303067 and fixed failing test. 2017-05-16 09:38:59 +00:00
Protocol.cpp [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
Protocol.h [clangd] Introduced Logger interface. 2017-09-20 07:24:15 +00:00
ProtocolHandlers.cpp [clangd] Fix codeAction not decoded properly when sent from some clients 2017-09-18 15:02:59 +00:00
ProtocolHandlers.h [clangd] Run clang-format on all clangd sources. NFC. 2017-08-02 09:08:39 +00:00