[clang-tools-extra] 9774c34 - [clangd] NFC: Omit deduced template parameters

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 24 05:27:50 PDT 2020


Author: Kirill Bobyrev
Date: 2020-04-24T14:27:39+02:00
New Revision: 9774c34a84e336968f276591c200bd955631c5be

URL: https://github.com/llvm/llvm-project/commit/9774c34a84e336968f276591c200bd955631c5be
DIFF: https://github.com/llvm/llvm-project/commit/9774c34a84e336968f276591c200bd955631c5be.diff

LOG: [clangd] NFC: Omit deduced template parameters

Related revision: D78521

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/index/remote/Client.cpp b/clang-tools-extra/clangd/index/remote/Client.cpp
index 79f303978c31..0c5fe142214b 100644
--- a/clang-tools-extra/clangd/index/remote/Client.cpp
+++ b/clang-tools-extra/clangd/index/remote/Client.cpp
@@ -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.


        


More information about the cfe-commits mailing list