[clangd] NFC: Omit deduced template parameters

Related revision: D78521
This commit is contained in:
Kirill Bobyrev 2020-04-24 14:26:35 +02:00
parent 9f9a08e19c
commit 9774c34a84
1 changed files with 3 additions and 6 deletions

View File

@ -61,21 +61,18 @@ public:
void lookup(const clangd::LookupRequest &Request,
llvm::function_ref<void(const clangd::Symbol &)> Callback) const {
streamRPC<LookupRequest, LookupReply>(
Request, &remote::SymbolIndex::Stub::Lookup, Callback);
streamRPC(Request, &remote::SymbolIndex::Stub::Lookup, Callback);
}
bool
fuzzyFind(const clangd::FuzzyFindRequest &Request,
llvm::function_ref<void(const clangd::Symbol &)> Callback) const {
return streamRPC<FuzzyFindRequest, FuzzyFindReply>(
Request, &remote::SymbolIndex::Stub::FuzzyFind, Callback);
return streamRPC(Request, &remote::SymbolIndex::Stub::FuzzyFind, Callback);
}
bool refs(const clangd::RefsRequest &Request,
llvm::function_ref<void(const clangd::Ref &)> Callback) const {
return streamRPC<RefsRequest, RefsReply>(
Request, &remote::SymbolIndex::Stub::Refs, Callback);
return streamRPC(Request, &remote::SymbolIndex::Stub::Refs, Callback);
}
// FIXME(kirillbobyrev): Implement this.