Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
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()
86 if (m_ast_context != &scratch_ast_context && m_ast_importer_sp) in ~ClangASTSource()
87 m_ast_importer_sp->ForgetSource(&scratch_ast_context, m_ast_context); in ~ClangASTSource()
91 if (!m_ast_context) in StartTranslationUnit()
94 m_ast_context->getTranslationUnitDecl()->setHasExternalVisibleStorage(); in StartTranslationUnit()
95 m_ast_context->getTranslationUnitDecl()->setHasExternalLexicalStorage(); in StartTranslationUnit()
[all …]
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()
DASTResultSynthesizer.cpp37 : m_ast_context(nullptr), m_passthrough(passthrough), in ASTResultSynthesizer()
49 m_ast_context = &Context; in Initialize()
84 if (m_ast_context && in TransformTopLevelDecl()
91 if (m_ast_context && function_decl->hasBody() && in TransformTopLevelDecl()
203 ASTContext &Ctx(*m_ast_context); in SynthesizeBodyResult()
DASTStructExtractor.h115 *m_ast_context; ///< The AST context to use for identifiers and types. variable
DClangExpressionDeclMap.cpp189 assert(&source.getASTContext() == m_ast_context); in DeportType()
647 assert(m_ast_context); in FindExternalVisibleDecls()
1330 assert(m_ast_context); in FindExternalVisibleDecls()
1439 m_ast_context->getDiagnostics().getCustomDiagID( in FindExternalVisibleDecls()
1441 m_ast_context->getDiagnostics().Report(diag_id) << error.AsCString(); in FindExternalVisibleDecls()
1448 m_ast_context->getDiagnostics().getCustomDiagID( in FindExternalVisibleDecls()
1450 m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str(); in FindExternalVisibleDecls()
1937 TypeSourceInfo *type_source_info = m_ast_context->getTrivialTypeSourceInfo( in AddContextClassType()
1948 *m_ast_context, m_ast_context->getTranslationUnitDecl(), SourceLocation(), in AddContextClassType()
DASTResultSynthesizer.h153 *m_ast_context; ///< The AST context to use for identifiers and types. variable
DClangExpressionParser.h180 std::unique_ptr<TypeSystemClang> m_ast_context; variable
DClangModulesDeclVendor.cpp128 std::unique_ptr<TypeSystemClang> m_ast_context; member in __anon583032790111::ClangModulesDeclVendorImpl
192 m_ast_context = in ClangModulesDeclVendorImpl()
416 decls.push_back(m_ast_context->GetCompilerDecl(named_decl)); in FindDecls()
DClangASTSource.h379 clang::ASTContext *m_ast_context; variable
DClangExpressionParser.cpp705 m_ast_context = std::make_unique<TypeSystemClang>( in ClangExpressionParser()
1125 m_ast_context->setSema(&m_compiler->getSema()); in ParseInternal()
1148 decl_map->InstallASTContext(*m_ast_context); in ParseInternal()
1167 m_ast_context->setSema(nullptr); in ParseInternal()