summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/ClangdServer.cpp
diff options
context:
space:
mode:
authorRussell Gallop <russell.gallop@gmail.com>2019-07-12 13:35:58 +0000
committerRussell Gallop <russell.gallop@gmail.com>2019-07-12 13:35:58 +0000
commitde54e2c4df98f725e9ef9f4885cf2fe136ef2956 (patch)
tree1dcdbdf3dd00af04399d3d224718b1f696d10ec9 /clang-tools-extra/clangd/ClangdServer.cpp
parente6e09561698a16b30d610a0690a43cd975f9bb2a (diff)
downloadbcm5719-llvm-de54e2c4df98f725e9ef9f4885cf2fe136ef2956.tar.gz
bcm5719-llvm-de54e2c4df98f725e9ef9f4885cf2fe136ef2956.zip
Revert "[clangd] Implement typeHierarchy/resolve for subtypes"
Causing test failure on Windows bot This reverts commit 5b9484e559d44bd923fc290e335891b1dd2e17c4. llvm-svn: 365899
Diffstat (limited to 'clang-tools-extra/clangd/ClangdServer.cpp')
-rw-r--r--clang-tools-extra/clangd/ClangdServer.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang-tools-extra/clangd/ClangdServer.cpp b/clang-tools-extra/clangd/ClangdServer.cpp
index 10949ef001c..451dac6f0df 100644
--- a/clang-tools-extra/clangd/ClangdServer.cpp
+++ b/clang-tools-extra/clangd/ClangdServer.cpp
@@ -528,13 +528,6 @@ void ClangdServer::typeHierarchy(PathRef File, Position Pos, int Resolve,
WorkScheduler.runWithAST("Type Hierarchy", File, Bind(Action, std::move(CB)));
}
-void ClangdServer::resolveTypeHierarchy(
- TypeHierarchyItem Item, int Resolve, TypeHierarchyDirection Direction,
- Callback<llvm::Optional<TypeHierarchyItem>> CB) {
- clangd::resolveTypeHierarchy(Item, Resolve, Direction, Index);
- CB(Item);
-}
-
void ClangdServer::onFileEvent(const DidChangeWatchedFilesParams &Params) {
// FIXME: Do nothing for now. This will be used for indexing and potentially
// invalidating other caches.
OpenPOWER on IntegriCloud