summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/CodeCompletionStrings.h
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-06-22 06:41:43 +0000
committerSam McCall <sam.mccall@gmail.com>2018-06-22 06:41:43 +0000
commit032db94ac9eac2d18d1889672853e7e69b639c4d (patch)
tree817b78824f7fd272617a87a4cbc89ad2f6cd4b8b /clang-tools-extra/clangd/CodeCompletionStrings.h
parentaa5f4d2e23d34ac08cb7eb0f8810cc9db4760f3a (diff)
downloadbcm5719-llvm-032db94ac9eac2d18d1889672853e7e69b639c4d.tar.gz
bcm5719-llvm-032db94ac9eac2d18d1889672853e7e69b639c4d.zip
[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
Diffstat (limited to 'clang-tools-extra/clangd/CodeCompletionStrings.h')
-rw-r--r--clang-tools-extra/clangd/CodeCompletionStrings.h5
1 files changed, 0 insertions, 5 deletions
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
OpenPOWER on IntegriCloud