summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>2018-09-13 15:35:55 +0000
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>2018-09-13 15:35:55 +0000
commitbd72b08eb3db717c975149d8ae6bfaf82f81695b (patch)
tree2b5281fad7dddb558029cdfa114774f4523d9002
parentbf2d112c15c407a5ff9a3ecbba8ec638cd989e85 (diff)
downloadbcm5719-llvm-bd72b08eb3db717c975149d8ae6bfaf82f81695b.tar.gz
bcm5719-llvm-bd72b08eb3db717c975149d8ae6bfaf82f81695b.zip
[clangd] Fix Dexp build
%s/MaxCandidateCount/Limit/g after rL342138. llvm-svn: 342143
-rw-r--r--clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp b/clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
index c3c6307d3a6..41f9bf00e2a 100644
--- a/clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
+++ b/clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
@@ -54,7 +54,7 @@ void reportTime(StringRef Name, llvm::function_ref<void()> F) {
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";
OpenPOWER on IntegriCloud