summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-01-10 17:59:27 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-01-10 17:59:27 +0000
commit95558392282edc563ed07b89c948c9627cf555d5 (patch)
tree837223fbb7034f968682e88bfc4b6d70afb24cbc /clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp
parent5836790955d959d25009ed4ca59912255158e9ac (diff)
downloadbcm5719-llvm-95558392282edc563ed07b89c948c9627cf555d5.tar.gz
bcm5719-llvm-95558392282edc563ed07b89c948c9627cf555d5.zip
[clangd] Pass Context to onDiagnosticsReady callback
Reviewers: sammccall Reviewed By: sammccall Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D41907 llvm-svn: 322199
Diffstat (limited to 'clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp')
-rw-r--r--clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp b/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp
index 497263959e9..601c2daa471 100644
--- a/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp
+++ b/clang-tools-extra/unittests/clangd/CodeCompleteTests.cpp
@@ -59,8 +59,10 @@ using ::testing::ElementsAre;
using ::testing::Not;
class IgnoreDiagnostics : public DiagnosticsConsumer {
- void onDiagnosticsReady(
- PathRef File, Tagged<std::vector<DiagWithFixIts>> Diagnostics) override {}
+ void
+ onDiagnosticsReady(const Context &Ctx, PathRef File,
+ Tagged<std::vector<DiagWithFixIts>> Diagnostics) override {
+ }
};
// GMock helpers for matching completion items.
OpenPOWER on IntegriCloud