[clang-tools-extra] r343453 - [clangd] Query dex index using query-style trigrams, not identifier-style trigrams
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 1 03:42:51 PDT 2018
Author: sammccall
Date: Mon Oct 1 03:42:51 2018
New Revision: 343453
URL: http://llvm.org/viewvc/llvm-project?rev=343453&view=rev
Log:
[clangd] Query dex index using query-style trigrams, not identifier-style trigrams
Modified:
clang-tools-extra/trunk/clangd/index/dex/Dex.cpp
Modified: clang-tools-extra/trunk/clangd/index/dex/Dex.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/dex/Dex.cpp?rev=343453&r1=343452&r2=343453&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/dex/Dex.cpp (original)
+++ clang-tools-extra/trunk/clangd/index/dex/Dex.cpp Mon Oct 1 03:42:51 2018
@@ -148,7 +148,7 @@ bool Dex::fuzzyFind(const FuzzyFindReque
bool More = false;
std::vector<std::unique_ptr<Iterator>> TopLevelChildren;
- const auto TrigramTokens = generateIdentifierTrigrams(Req.Query);
+ const auto TrigramTokens = generateQueryTrigrams(Req.Query);
// Generate query trigrams and construct AND iterator over all query
// trigrams.
More information about the cfe-commits
mailing list