[PATCH] D52808: [cland] Dex: fix/simplify trigram generation

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 4 06:04:52 PDT 2018


sammccall updated this revision to Diff 168280.
sammccall added a comment.

Use similar but better-defined rules for short trigram matches.
Modify Dex to account for the matches not being exhaustive.

Unfortunately the test needs https://reviews.llvm.org/D52796, which depends on this patch.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52808

Files:
  clangd/index/dex/Dex.cpp
  clangd/index/dex/Trigram.cpp
  clangd/index/dex/Trigram.h
  unittests/clangd/DexTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52808.168280.patch
Type: text/x-patch
Size: 13887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181004/5e216bc6/attachment-0001.bin>


More information about the cfe-commits mailing list