Searched refs:m_ast_context (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangASTSource.cpp | 56 : m_lookups_enabled(false), m_target(target), m_ast_context(nullptr), in ClangASTSource() 63 m_ast_context = &clang_ast_context.getASTContext(); in InstallASTContext() 65 m_file_manager = &m_ast_context->getSourceManager().getFileManager(); in InstallASTContext() 66 m_ast_importer_sp->InstallMapCompleter(m_ast_context, *this); in InstallASTContext() 70 m_ast_importer_sp->ForgetDestination(m_ast_context); in ~ClangASTSource() 89 default_scratch_ast->ForgetSource(m_ast_context, *m_ast_importer_sp); in ~ClangASTSource() 93 if (!m_ast_context) in StartTranslationUnit() 96 m_ast_context->getTranslationUnitDecl()->setHasExternalVisibleStorage(); in StartTranslationUnit() 97 m_ast_context->getTranslationUnitDecl()->setHasExternalLexicalStorage(); in StartTranslationUnit() 103 if (!m_ast_context) { in FindExternalVisibleDeclsByName() [all …]
|
H A D | ASTStructExtractor.cpp | 32 : m_ast_context(nullptr), m_passthrough(passthrough), in ASTStructExtractor() 44 m_ast_context = &Context; in Initialize() 89 &m_ast_context->getASTRecordLayout(struct_decl)); in ExtractFromFunctionDecl() 125 if (m_ast_context && function_decl && in ExtractFromTopLevelDecl()
|
H A D | ASTResultSynthesizer.cpp | 38 : m_ast_context(nullptr), m_passthrough(passthrough), in ASTResultSynthesizer() 50 m_ast_context = &Context; in Initialize() 85 if (m_ast_context && in TransformTopLevelDecl() 92 if (m_ast_context && function_decl->hasBody() && in TransformTopLevelDecl() 225 ASTContext &Ctx(*m_ast_context); in SynthesizeBodyResult() 464 m_target, m_ast_context->getLangOpts()); in CommitPersistentDecls()
|
H A D | ClangExpressionDeclMap.cpp | 210 assert(&source.getASTContext() == m_ast_context); in DeportType() 665 assert(m_ast_context); in FindExternalVisibleDecls() 1341 assert(m_ast_context); in FindExternalVisibleDecls() 1450 m_ast_context->getDiagnostics().getCustomDiagID( in FindExternalVisibleDecls() 1452 m_ast_context->getDiagnostics().Report(diag_id) << error.AsCString(); in FindExternalVisibleDecls() 1459 m_ast_context->getDiagnostics().getCustomDiagID( in FindExternalVisibleDecls() 1461 m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str(); in FindExternalVisibleDecls() 2009 TypeSourceInfo *type_source_info = m_ast_context->getTrivialTypeSourceInfo( in AddContextClassType() 2020 *m_ast_context, m_ast_context->getTranslationUnitDecl(), SourceLocation(), in AddContextClassType()
|
H A D | ASTStructExtractor.h | 115 *m_ast_context; ///< The AST context to use for identifiers and types. variable
|
H A D | ClangExpressionParser.h | 167 std::shared_ptr<TypeSystemClang> m_ast_context; variable
|
H A D | ASTResultSynthesizer.h | 153 *m_ast_context; ///< The AST context to use for identifiers and types. variable
|
H A D | ClangModulesDeclVendor.cpp | 131 std::shared_ptr<TypeSystemClang> m_ast_context; member in __anonede2db020111::ClangModulesDeclVendorImpl 241 m_ast_context = in ClangModulesDeclVendorImpl() 458 decls.push_back(m_ast_context->GetCompilerDecl(named_decl)); in FindDecls()
|
H A D | ClangExpressionParser.cpp | 691 m_ast_context = std::make_shared<TypeSystemClang>( in ClangExpressionParser() 1114 m_ast_context->setSema(&m_compiler->getSema()); in ParseInternal() 1137 decl_map->InstallASTContext(*m_ast_context); in ParseInternal() 1156 m_ast_context->setSema(nullptr); in ParseInternal()
|
H A D | ClangExpressionDeclMap.h | 383 m_ast_context->getLangOpts()); in GetScratchContext()
|
H A D | ClangASTSource.h | 386 clang::ASTContext *m_ast_context; variable
|