diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-12-22 14:00:26 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-22 14:01:37 +0100 |
| commit | 218601ada1496f920fadddae9a21f7d6ccf48da5 (patch) | |
| tree | 2025ff466b15564c9544ca7ebf21d7317d4490dc /lldb/source/Symbol | |
| parent | 7394c15178ed9cb7bd04585526a1e73396e60e17 (diff) | |
| download | bcm5719-llvm-218601ada1496f920fadddae9a21f7d6ccf48da5.tar.gz bcm5719-llvm-218601ada1496f920fadddae9a21f7d6ccf48da5.zip | |
[lldb] Remove unused CompilerDeclContext::IsStructUnionOrClass
Diffstat (limited to 'lldb/source/Symbol')
| -rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 7 | ||||
| -rw-r--r-- | lldb/source/Symbol/CompilerDeclContext.cpp | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 66a682c3493..0b723cee803 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -9268,13 +9268,6 @@ uint32_t ClangASTContext::CountDeclLevels(clang::DeclContext *frame_decl_ctx, return LLDB_INVALID_DECL_LEVEL; } -bool ClangASTContext::DeclContextIsStructUnionOrClass(void *opaque_decl_ctx) { - if (opaque_decl_ctx) - return ((clang::DeclContext *)opaque_decl_ctx)->isRecord(); - else - return false; -} - ConstString ClangASTContext::DeclContextGetName(void *opaque_decl_ctx) { if (opaque_decl_ctx) { clang::NamedDecl *named_decl = diff --git a/lldb/source/Symbol/CompilerDeclContext.cpp b/lldb/source/Symbol/CompilerDeclContext.cpp index 672de6ec34d..25768fcb9f7 100644 --- a/lldb/source/Symbol/CompilerDeclContext.cpp +++ b/lldb/source/Symbol/CompilerDeclContext.cpp @@ -37,13 +37,6 @@ ConstString CompilerDeclContext::GetScopeQualifiedName() const { return ConstString(); } -bool CompilerDeclContext::IsStructUnionOrClass() const { - if (IsValid()) - return m_type_system->DeclContextIsStructUnionOrClass(m_opaque_decl_ctx); - else - return false; -} - bool CompilerDeclContext::IsClassMethod(lldb::LanguageType *language_ptr, bool *is_instance_method_ptr, ConstString *language_object_name_ptr) { |

