[PATCH] D51287: [clangd] Use TRUE iterator instead of complete posting list
Kirill Bobyrev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 27 02:48:59 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL340729: [clangd] Use TRUE iterator instead of complete posting list (authored by omtcyfz, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D51287?vs=162633&id=162644#toc
Repository:
rL LLVM
https://reviews.llvm.org/D51287
Files:
clang-tools-extra/trunk/clangd/index/dex/Trigram.cpp
Index: clang-tools-extra/trunk/clangd/index/dex/Trigram.cpp
===================================================================
--- clang-tools-extra/trunk/clangd/index/dex/Trigram.cpp
+++ clang-tools-extra/trunk/clangd/index/dex/Trigram.cpp
@@ -67,10 +67,6 @@
UniqueTrigrams.insert(Token(Token::Kind::Trigram, Chars));
};
- // FIXME(kbobyrev): Instead of producing empty trigram for each identifier,
- // just use True Iterator on the query side when the query string is empty.
- add({{END_MARKER, END_MARKER, END_MARKER}});
-
if (TwoHeads.size() == 2)
add({{TwoHeads.front(), TwoHeads.back(), END_MARKER}});
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51287.162644.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180827/0909506d/attachment-0001.bin>
More information about the cfe-commits
mailing list