diff options
author | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-13 15:35:55 +0000 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-13 15:35:55 +0000 |
commit | bd72b08eb3db717c975149d8ae6bfaf82f81695b (patch) | |
tree | 2b5281fad7dddb558029cdfa114774f4523d9002 | |
parent | bf2d112c15c407a5ff9a3ecbba8ec638cd989e85 (diff) | |
download | bcm5719-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.cpp | 2 |
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"; |