summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp')
-rw-r--r--lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp b/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp
index 6c804f4d969..cd6972cce97 100644
--- a/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp
+++ b/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp
@@ -41,7 +41,6 @@
#endif
#include "lldb/Core/Log.h"
-#include "clang/AST/Decl.h"
using namespace clang;
using namespace lldb_private;
@@ -161,16 +160,3 @@ ClangExternalASTSourceCallbacks::layoutRecordType(
return false;
}
-void
-ClangExternalASTSourceCallbacks::FindExternalLexicalDecls (const clang::DeclContext *decl_ctx,
- llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
- llvm::SmallVectorImpl<clang::Decl *> &decls)
-{
- if (m_callback_tag_decl && decl_ctx)
- {
- clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>(const_cast<clang::DeclContext *>(decl_ctx));
- if (tag_decl)
- CompleteType(tag_decl);
- }
-}
-
OpenPOWER on IntegriCloud