llvm-project/clang-tools-extra/clangd/tool
Kadir Cetinkaya 2772c3a975
[clangd] Introduce pullDiags endpoint
Implement initial support for pull-based diagnostics in ClangdServer.
This is planned for LSP 3.17, and initial proposal is in
d15eb0671e/protocol/src/common/proposed.diagnostic.ts (L111).

We chose to serve the requests only when clangd has a fresh preamble
available. In case of a stale preamble we just drop the request on the
floor.

This patch doesn't plumb this to LSP layer yet, as pullDiags is still a
proposal with only an implementation in vscode.

Differential Revision: https://reviews.llvm.org/D98623
2021-03-16 12:52:15 +01:00
..
CMakeLists.txt [clangd] Cleanup dependencies around RemoteIndex 2020-11-04 16:58:11 +01:00
Check.cpp [clangd] Introduce pullDiags endpoint 2021-03-16 12:52:15 +01:00
ClangdMain.cpp [clangd] Make ProjectAwareIndex optionally sync 2021-03-11 20:30:35 +01:00