diff options
author | Marc-Andre Laperle <marc-andre.laperle@ericsson.com> | 2017-10-02 18:00:37 +0000 |
---|---|---|
committer | Marc-Andre Laperle <marc-andre.laperle@ericsson.com> | 2017-10-02 18:00:37 +0000 |
commit | bf11424b7fcabf997c2d43c7d0d9949351588b45 (patch) | |
tree | c190b6f413ae6fe57b85fc798459daccd74411ae /clang/lib/Frontend/InitHeaderSearch.cpp | |
parent | a807660918ec33d05c39fb20fffeab84775cfcbc (diff) | |
download | llvm-bf11424b7fcabf997c2d43c7d0d9949351588b45.zip llvm-bf11424b7fcabf997c2d43c7d0d9949351588b45.tar.gz llvm-bf11424b7fcabf997c2d43c7d0d9949351588b45.tar.bz2 |
[clangd] Handle workspace/didChangeWatchedFiles
Summary:
The client can send notifications when it detects watched files have
changed. This patch adds the protocol handling for this type of notification.
For now, the notification will be passed down to the ClangdServer, but it will
not be acted upon. However, this will become useful for the indexer to react
to file changes.
The events could also potentially be used to invalidate other caches
(compilation database, etc).
This change also updates the VSCode extension so that it sends the events.
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewers: ilya-biryukov, Nebiroth
Subscribers: ilya-biryukov
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D38422
llvm-svn: 314693
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions