[PATCH] D44226: [clangd] Add -log-lsp-to-stderr option

Simon Marchi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 8 08:01:58 PST 2018

simark added a comment.

Now, if the client calls a method that we do not support (), clangd just outputs:

  C/C++: [10:55:16.033] Error -32601: method not found

It would be useful to at least print in this error message the name of the method.  Because the "unknown method" handler shares the type signature of regular handlers, I would have to add a parameter with the method name to all existing handlers.  I'll try that.

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list