Lines Matching refs:m_ast_context
57 : m_lookups_enabled(false), m_target(target), m_ast_context(nullptr), in ClangASTSource()
64 m_ast_context = &clang_ast_context.getASTContext(); in InstallASTContext()
66 m_file_manager = &m_ast_context->getSourceManager().getFileManager(); in InstallASTContext()
67 m_ast_importer_sp->InstallMapCompleter(m_ast_context, *this); in InstallASTContext()
71 m_ast_importer_sp->ForgetDestination(m_ast_context); in ~ClangASTSource()
90 default_scratch_ast->ForgetSource(m_ast_context, *m_ast_importer_sp); in ~ClangASTSource()
94 if (!m_ast_context) in StartTranslationUnit()
97 m_ast_context->getTranslationUnitDecl()->setHasExternalVisibleStorage(); in StartTranslationUnit()
98 m_ast_context->getTranslationUnitDecl()->setHasExternalLexicalStorage(); in StartTranslationUnit()
104 if (!m_ast_context) { in FindExternalVisibleDeclsByName()
316 m_ast_context, m_clang_ast_context->getDisplayName(), in CompleteType()
409 m_ast_context, m_clang_ast_context->getDisplayName(), in FindExternalLexicalDecls()
417 m_ast_context, m_clang_ast_context->getDisplayName(), in FindExternalLexicalDecls()
424 m_ast_context, m_clang_ast_context->getDisplayName()); in FindExternalLexicalDecls()
520 assert(m_ast_context); in FindExternalVisibleDecls()
531 m_ast_context, m_clang_ast_context->getDisplayName(), name); in FindExternalVisibleDecls()
537 m_ast_context, m_clang_ast_context->getDisplayName(), name, in FindExternalVisibleDecls()
543 m_ast_context, m_clang_ast_context->getDisplayName(), name, in FindExternalVisibleDecls()
584 if (m_ast_context->getLangOpts().ObjC) in IgnoreName()
599 assert(m_ast_context); in FindExternalVisibleDecls()
981 m_ast_context, m_clang_ast_context->getDisplayName(), in FindObjCMethodDecls()
1271 m_ast_context, m_clang_ast_context->getDisplayName(), in FindObjCPropertyAndIvarDecls()
1504 m_ast_context, m_clang_ast_context->getDisplayName(), record, in layoutRecordType()
1545 lldbassert(&record->getASTContext() == m_ast_context); in layoutRecordType()
1564 size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType()
1566 m_ast_context->getCharWidth(); in layoutRecordType()
1628 m_ast_context, m_clang_ast_context->getDisplayName(), name, in CompleteNamespaceMap()
1634 m_ast_context, m_clang_ast_context->getDisplayName(), name); in CompleteNamespaceMap()
1728 return m_ast_importer_sp->CopyDecl(m_ast_context, src_decl); in CopyDecl()