diff options
Diffstat (limited to 'clang-tools-extra/unittests/clangd/SyncAPI.h')
| -rw-r--r-- | clang-tools-extra/unittests/clangd/SyncAPI.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang-tools-extra/unittests/clangd/SyncAPI.h b/clang-tools-extra/unittests/clangd/SyncAPI.h index 9bfe155e6e1..492a5d2514d 100644 --- a/clang-tools-extra/unittests/clangd/SyncAPI.h +++ b/clang-tools-extra/unittests/clangd/SyncAPI.h @@ -21,17 +21,17 @@ 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); +llvm::Expected<CompletionList> +runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, + clangd::CodeCompleteOptions Opts); -llvm::Expected<Tagged<SignatureHelp>> -runSignatureHelp(ClangdServer &Server, PathRef File, Position Pos); +llvm::Expected<SignatureHelp> runSignatureHelp(ClangdServer &Server, + PathRef File, Position Pos); -llvm::Expected<Tagged<std::vector<Location>>> +llvm::Expected<std::vector<Location>> runFindDefinitions(ClangdServer &Server, PathRef File, Position Pos); -llvm::Expected<Tagged<std::vector<DocumentHighlight>>> +llvm::Expected<std::vector<DocumentHighlight>> runFindDocumentHighlights(ClangdServer &Server, PathRef File, Position Pos); llvm::Expected<std::vector<tooling::Replacement>> |

