diff options
Diffstat (limited to 'clang-tools-extra/unittests/clangd/SyncAPI.h')
-rw-r--r-- | clang-tools-extra/unittests/clangd/SyncAPI.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/clang-tools-extra/unittests/clangd/SyncAPI.h b/clang-tools-extra/unittests/clangd/SyncAPI.h index 6b8f27d3af9..31d8483e339 100644 --- a/clang-tools-extra/unittests/clangd/SyncAPI.h +++ b/clang-tools-extra/unittests/clangd/SyncAPI.h @@ -18,14 +18,12 @@ namespace clang { namespace clangd { -Tagged<CompletionList> -runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, - clangd::CodeCompleteOptions Opts, - llvm::Optional<StringRef> OverridenContents = llvm::None); +Tagged<CompletionList> runCodeComplete(ClangdServer &Server, PathRef File, + Position Pos, + clangd::CodeCompleteOptions Opts); llvm::Expected<Tagged<SignatureHelp>> -runSignatureHelp(ClangdServer &Server, PathRef File, Position Pos, - llvm::Optional<StringRef> OverridenContents = llvm::None); +runSignatureHelp(ClangdServer &Server, PathRef File, Position Pos); llvm::Expected<Tagged<std::vector<Location>>> runFindDefinitions(ClangdServer &Server, PathRef File, Position Pos); |