[PATCH] D44882: [clangd] Implementation of workspace/symbol request

Marc-Andre Laperle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 26 07:17:14 PDT 2018


malaperle added inline comments.


================
Comment at: clangd/WorkspaceSymbols.cpp:165
+            [](const SymbolInformation &A, const SymbolInformation &B) {
+              return A.name < B.name;
+            });
----------------
ilya-biryukov wrote:
> We have `FuzzyMatcher`, it can produce decent match scores and is already used in completion.
> Any reason not to use it here?
I think it was giving odd ordering but let me try this again and at least document the reason.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44882





More information about the cfe-commits mailing list