Skip to content

Commit

Permalink
[clangd] NFC: Omit deduced template parameters
Browse files Browse the repository at this point in the history
Related revision: D78521
  • Loading branch information
kirillbobyrev committed Apr 24, 2020
1 parent 9f9a08e commit 9774c34
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions clang-tools-extra/clangd/index/remote/Client.cpp
Expand Up @@ -61,21 +61,18 @@ class IndexClient : public clangd::SymbolIndex {

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.
Expand Down

0 comments on commit 9774c34

Please sign in to comment.