Home
last modified time | relevance | path

Searched refs:m_ast_context (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp56 : 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 DASTStructExtractor.cpp32 : 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 DASTResultSynthesizer.cpp38 : 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 DClangExpressionDeclMap.cpp210 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 DASTStructExtractor.h115 *m_ast_context; ///< The AST context to use for identifiers and types. variable
H A DClangExpressionParser.h167 std::shared_ptr<TypeSystemClang> m_ast_context; variable
H A DASTResultSynthesizer.h153 *m_ast_context; ///< The AST context to use for identifiers and types. variable
H A DClangModulesDeclVendor.cpp131 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 DClangExpressionParser.cpp691 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 DClangExpressionDeclMap.h383 m_ast_context->getLangOpts()); in GetScratchContext()
H A DClangASTSource.h386 clang::ASTContext *m_ast_context; variable