summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clangd/SyncAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/unittests/clangd/SyncAPI.h')
-rw-r--r--clang-tools-extra/unittests/clangd/SyncAPI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/unittests/clangd/SyncAPI.h b/clang-tools-extra/unittests/clangd/SyncAPI.h
index 31d8483e339..9bfe155e6e1 100644
--- a/clang-tools-extra/unittests/clangd/SyncAPI.h
+++ b/clang-tools-extra/unittests/clangd/SyncAPI.h
@@ -18,6 +18,9 @@
namespace clang {
namespace clangd {
+// Calls addDocument and then blockUntilIdleForTest.
+void runAddDocument(ClangdServer &Server, PathRef File, StringRef Contents);
+
Tagged<CompletionList> runCodeComplete(ClangdServer &Server, PathRef File,
Position Pos,
clangd::CodeCompleteOptions Opts);
OpenPOWER on IntegriCloud