From 032db94ac9eac2d18d1889672853e7e69b639c4d Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Fri, 22 Jun 2018 06:41:43 +0000 Subject: [clangd] Remove FilterText from the index. Summary: It's almost always identical to Name, and in fact we never used it (we used name instead). The only case where they differ is objc method selectors (foo: vs foo:bar:). We can live with the latter for both name and filterText, so I've made that change too. Reviewers: ioeric Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits Differential Revision: https://reviews.llvm.org/D48375 llvm-svn: 335321 --- clang-tools-extra/clangd/CodeCompletionStrings.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang-tools-extra/clangd/CodeCompletionStrings.h') diff --git a/clang-tools-extra/clangd/CodeCompletionStrings.h b/clang-tools-extra/clangd/CodeCompletionStrings.h index 81d184cfba8..fd81db40e76 100644 --- a/clang-tools-extra/clangd/CodeCompletionStrings.h +++ b/clang-tools-extra/clangd/CodeCompletionStrings.h @@ -65,11 +65,6 @@ std::string formatDocumentation(const CodeCompletionString &CCS, /// is usually the return type of a function. std::string getDetail(const CodeCompletionString &CCS); -/// Gets the piece of text that the user is expected to type to match the -/// code-completion string, typically a keyword or the name of a declarator or -/// macro. -std::string getFilterText(const CodeCompletionString &CCS); - } // namespace clangd } // namespace clang -- cgit v1.2.3