diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2021-02-26 14:44:01 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2021-03-04 11:15:10 +0100 |
commit | 1d7b328198a7dd1e26ffd76256a3427134d39951 (patch) | |
tree | c9a77e44bfb99fa93abc634fea01aac9d701b995 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 098aea95e92e0cae53959737bf3520dc85b1b888 (diff) | |
download | llvm-1d7b328198a7dd1e26ffd76256a3427134d39951.zip llvm-1d7b328198a7dd1e26ffd76256a3427134d39951.tar.gz llvm-1d7b328198a7dd1e26ffd76256a3427134d39951.tar.bz2 |
[clangd] Introduce client state invalidation
Clangd can invalidate client state of features like semantic higlighting
without client explicitly triggering, for example after a preamble build
caused by an onSave notification on a different file.
This patch introduces a mechanism to let client know of such actions,
and also calls the workspace/semanticTokens/refresh request to
demonstrate the situation after each preamble build.
Fixes https://github.com/clangd/clangd/issues/699.
Differential Revision: https://reviews.llvm.org/D97548
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions