[clang-tools-extra] r342143 - [clangd] Fix Dexp build

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 13 08:35:55 PDT 2018


Author: omtcyfz
Date: Thu Sep 13 08:35:55 2018
New Revision: 342143

URL: http://llvm.org/viewvc/llvm-project?rev=342143&view=rev
Log:
[clangd] Fix Dexp build

%s/MaxCandidateCount/Limit/g after rL342138.

Modified:
    clang-tools-extra/trunk/clangd/index/dex/dexp/Dexp.cpp

Modified: clang-tools-extra/trunk/clangd/index/dex/dexp/Dexp.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/dex/dexp/Dexp.cpp?rev=342143&r1=342142&r2=342143&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/dex/dexp/Dexp.cpp (original)
+++ clang-tools-extra/trunk/clangd/index/dex/dexp/Dexp.cpp Thu Sep 13 08:35:55 2018
@@ -54,7 +54,7 @@ void reportTime(StringRef Name, llvm::fu
 
 void fuzzyFind(llvm::StringRef UnqualifiedName, const SymbolIndex &Index) {
   FuzzyFindRequest Request;
-  Request.MaxCandidateCount = 10;
+  Request.Limit = 10;
   Request.Query = UnqualifiedName;
   // FIXME(kbobyrev): Print symbol final scores to see the distribution.
   static const auto OutputFormat = "{0,-4} | {1,-40} | {2,-25}\n";




More information about the cfe-commits mailing list