[PATCH] D44720: [clangd] Simplify fuzzy matcher (sequence alignment) by removing some condition checks.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 20 17:06:37 PDT 2018


MaskRay created this revision.
MaskRay added a reviewer: sammccall.
Herald added subscribers: cfe-commits, ioeric, jkorous-apple, ilya-biryukov, klimek.

Also rename `matchBonus` and `skipPenalty` to uniform `{match,miss}Score` in addition form.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44720

Files:
  clangd/FuzzyMatch.cpp
  clangd/FuzzyMatch.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44720.139230.patch
Type: text/x-patch
Size: 8300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180321/ff31439c/attachment.bin>


More information about the cfe-commits mailing list