[PATCH] D47815: [clangd] Boost fuzzy match score by 2x (so a maximum of 2) when the query is the full identifier name.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 6 03:11:53 PDT 2018


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

Fix a couple of bugs in tests an in Quality to keep tests passing.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D47815

Files:
  clangd/FuzzyMatch.cpp
  clangd/FuzzyMatch.h
  clangd/Quality.cpp
  clangd/Quality.h
  unittests/clangd/FindSymbolsTests.cpp
  unittests/clangd/FuzzyMatchTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47815.150098.patch
Type: text/x-patch
Size: 5506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180606/52e13df8/attachment-0001.bin>


More information about the cfe-commits mailing list