Skip to content

Commit 9774c34

Browse files
committed
[clangd] NFC: Omit deduced template parameters
Related revision: D78521
1 parent 9f9a08e commit 9774c34

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

clang-tools-extra/clangd/index/remote/Client.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,18 @@ class IndexClient : public clangd::SymbolIndex {
6161

6262
void lookup(const clangd::LookupRequest &Request,
6363
llvm::function_ref<void(const clangd::Symbol &)> Callback) const {
64-
streamRPC<LookupRequest, LookupReply>(
65-
Request, &remote::SymbolIndex::Stub::Lookup, Callback);
64+
streamRPC(Request, &remote::SymbolIndex::Stub::Lookup, Callback);
6665
}
6766

6867
bool
6968
fuzzyFind(const clangd::FuzzyFindRequest &Request,
7069
llvm::function_ref<void(const clangd::Symbol &)> Callback) const {
71-
return streamRPC<FuzzyFindRequest, FuzzyFindReply>(
72-
Request, &remote::SymbolIndex::Stub::FuzzyFind, Callback);
70+
return streamRPC(Request, &remote::SymbolIndex::Stub::FuzzyFind, Callback);
7371
}
7472

7573
bool refs(const clangd::RefsRequest &Request,
7674
llvm::function_ref<void(const clangd::Ref &)> Callback) const {
77-
return streamRPC<RefsRequest, RefsReply>(
78-
Request, &remote::SymbolIndex::Stub::Refs, Callback);
75+
return streamRPC(Request, &remote::SymbolIndex::Stub::Refs, Callback);
7976
}
8077

8178
// FIXME(kirillbobyrev): Implement this.

0 commit comments

Comments
 (0)