[PATCH] D61495: [clangd] Use more relaxed fuzzy-matching rules for local variables and class members.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 05:21:52 PDT 2019


sammccall created this revision.
sammccall added a reviewer: ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.

I think the actual rules implemented here are probably *too* relaxed, and we
should require the first character to match the start of a word segment.
But I'm not sure and this was easier to write, will try it out.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D61495

Files:
  clangd/CodeComplete.cpp
  clangd/FuzzyMatch.cpp
  clangd/FuzzyMatch.h
  clangd/unittests/CodeCompleteTests.cpp
  clangd/unittests/FuzzyMatchTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61495.197965.patch
Type: text/x-patch
Size: 10065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190503/c23190ff/attachment-0001.bin>


More information about the cfe-commits mailing list