Skip to content

Commit 065fae2

Browse files
committed
[upstreaming] Remove unused and duplicate ClangASTContext constructor
1 parent b93d5a8 commit 065fae2

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

lldb/include/lldb/Symbol/ClangASTContext.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ class ClangASTContext : public TypeSystem {
6161
/// \param existing_ctxt An existing ASTContext.
6262
explicit ClangASTContext(clang::ASTContext &existing_ctxt);
6363

64-
ClangASTContext(clang::ASTContext *ast_ctx);
65-
6664
~ClangASTContext() override;
6765

6866
void Finalize() override;

lldb/source/Symbol/ClangASTContext.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -548,15 +548,6 @@ ClangASTContext::ClangASTContext(ASTContext &existing_ctxt)
548548
GetASTMap().Insert(&existing_ctxt, this);
549549
}
550550

551-
ClangASTContext::ClangASTContext(clang::ASTContext *ast_ctx)
552-
: TypeSystem(TypeSystem::eKindClang), m_target_triple(), m_ast_up(ast_ctx),
553-
m_language_options_up(), m_source_manager_up(), m_diagnostics_engine_up(),
554-
m_target_options_rp(), m_target_info_up(), m_identifier_table_up(),
555-
m_selector_table_up(), m_builtins_up(), m_callback_tag_decl(nullptr),
556-
m_callback_objc_decl(nullptr), m_callback_baton(nullptr),
557-
m_pointer_byte_size(0), m_ast_owned(false) {}
558-
559-
//----------------------------------------------------------------------
560551
// Destructor
561552
ClangASTContext::~ClangASTContext() { Finalize(); }
562553

0 commit comments

Comments
 (0)