forked from OSchip/llvm-project
[lldb][NFC] Remove unused callback functionality from ClangASTContext
This commit is contained in:
parent
b714583fd0
commit
982a9e3d46
|
@ -964,9 +964,6 @@ protected:
|
|||
std::unique_ptr<PDBASTParser> m_pdb_ast_parser_up;
|
||||
std::unique_ptr<ClangASTSource> m_scratch_ast_source_up;
|
||||
std::unique_ptr<clang::MangleContext> m_mangle_ctx_up;
|
||||
CompleteTagDeclCallback m_callback_tag_decl = nullptr;
|
||||
CompleteObjCInterfaceDeclCallback m_callback_objc_decl = nullptr;
|
||||
void *m_callback_baton = nullptr;
|
||||
uint32_t m_pointer_byte_size = 0;
|
||||
bool m_ast_owned = false;
|
||||
/// The sema associated that is currently used to build this ASTContext.
|
||||
|
|
|
@ -721,11 +721,6 @@ void ClangASTContext::CreateASTContext() {
|
|||
if (target_info)
|
||||
m_ast_up->InitBuiltinTypes(*target_info);
|
||||
|
||||
if ((m_callback_tag_decl || m_callback_objc_decl) && m_callback_baton) {
|
||||
m_ast_up->getTranslationUnitDecl()->setHasExternalLexicalStorage();
|
||||
// m_ast_up->getTranslationUnitDecl()->setHasExternalVisibleStorage();
|
||||
}
|
||||
|
||||
GetASTMap().Insert(m_ast_up.get(), this);
|
||||
|
||||
llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> ast_source_up(
|
||||
|
|
Loading…
Reference in New Issue