diff options
author | Haojian Wu <hokein@google.com> | 2019-08-26 08:38:45 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-08-26 08:38:45 +0000 |
commit | 0a6000f2cbb40abd008338895a471f474347b80d (patch) | |
tree | e74fbafb1652c862315e98e18e85c8345a0028cb /clang-tools-extra/clangd/ClangdLSPServer.h | |
parent | 72ca5f36944ee01566ca1a42083e52315ea4264a (diff) | |
download | bcm5719-llvm-0a6000f2cbb40abd008338895a471f474347b80d.tar.gz bcm5719-llvm-0a6000f2cbb40abd008338895a471f474347b80d.zip |
[clangd] Send highlighting diff beyond the end of the file.
Summary: This would make the client life (tracking the changes) easier.
Reviewers: jvikstrom
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66541
llvm-svn: 369884
Diffstat (limited to 'clang-tools-extra/clangd/ClangdLSPServer.h')
-rw-r--r-- | clang-tools-extra/clangd/ClangdLSPServer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/clangd/ClangdLSPServer.h b/clang-tools-extra/clangd/ClangdLSPServer.h index 65aa447f480..4e7e042bb9a 100644 --- a/clang-tools-extra/clangd/ClangdLSPServer.h +++ b/clang-tools-extra/clangd/ClangdLSPServer.h @@ -55,9 +55,9 @@ private: // Implement DiagnosticsConsumer. void onDiagnosticsReady(PathRef File, std::vector<Diag> Diagnostics) override; void onFileUpdated(PathRef File, const TUStatus &Status) override; - void onHighlightingsReady(PathRef File, - std::vector<HighlightingToken> Highlightings, - int NumLines) override; + void + onHighlightingsReady(PathRef File, + std::vector<HighlightingToken> Highlightings) override; // LSP methods. Notifications have signature void(const Params&). // Calls have signature void(const Params&, Callback<Response>). |