[PATCH] D75985: clangd doc: Show a test case for clangd with some commands
Sylvestre Ledru via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 09:37:14 PDT 2020
sylvestre.ledru added a comment.
Good question :)
I have been wearing two hats here.
With my Debian/Ubuntu hat, i have been interested to write some dumb integration tests to be sure that clangd, as a package, works as expected.
I just need to make sure that the binary starts, that I can send some data and I am getting some outputs which makes sense.
https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/10/debian/qualify-clang.sh#L106-266 (I know it is ugly :)
With my Mozilla hat, I was interested to see how clangd works and we could call it from tooling. I think this doc helps understanding how it works quickly. Without spending too much time reading LSP or reading at the code of extensions.
About the -lit-test thing, it is because I am a noob :) I would be interested to know if there is a better way!
Happy to do any change you want, just let me know!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75985/new/
https://reviews.llvm.org/D75985
More information about the cfe-commits
mailing list