Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp64 m_ast_context = &clang_ast_context.getASTContext(); 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()
94 if (!m_ast_context) in StartTranslationUnit()
104 if (!m_ast_context) { in FindExternalVisibleDeclsByName()
316 m_ast_context, m_clang_ast_context->getDisplayName(), in CompleteType()
520 assert(m_ast_context); in FindExternalVisibleDecls()
584 if (m_ast_context->getLangOpts().ObjC) in IgnoreName()
599 assert(m_ast_context); in FindExternalVisibleDecls()
1545 lldbassert(&record->getASTContext() == m_ast_context); in layoutRecordType()
[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()
474 m_target, m_ast_context->getLangOpts()); in CommitPersistentDecls()
H A DASTStructExtractor.h115 *m_ast_context; ///< The AST context to use for identifiers and types. variable
H A DASTResultSynthesizer.h153 *m_ast_context; ///< The AST context to use for identifiers and types. variable
H A DClangExpressionParser.h180 std::unique_ptr<TypeSystemClang> m_ast_context; variable
H A DClangExpressionDeclMap.cpp210 assert(&source.getASTContext() == m_ast_context); in DeportType()
672 assert(m_ast_context); in FindExternalVisibleDecls()
1357 assert(m_ast_context); in FindExternalVisibleDecls()
1466 m_ast_context->getDiagnostics().getCustomDiagID( in FindExternalVisibleDecls()
1468 m_ast_context->getDiagnostics().Report(diag_id) << error.AsCString(); in FindExternalVisibleDecls()
1475 m_ast_context->getDiagnostics().getCustomDiagID( in FindExternalVisibleDecls()
1477 m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str(); in FindExternalVisibleDecls()
2025 TypeSourceInfo *type_source_info = m_ast_context->getTrivialTypeSourceInfo( in AddContextClassType()
2036 *m_ast_context, m_ast_context->getTranslationUnitDecl(), SourceLocation(), in AddContextClassType()
H A DClangModulesDeclVendor.cpp129 std::unique_ptr<TypeSystemClang> m_ast_context; member in __anon61a942320111::ClangModulesDeclVendorImpl
193 m_ast_context = in ClangModulesDeclVendorImpl()
410 decls.push_back(m_ast_context->GetCompilerDecl(named_decl)); in FindDecls()
H A DClangExpressionDeclMap.h382 m_ast_context->getLangOpts()); in GetScratchContext()
H A DClangASTSource.h381 clang::ASTContext *m_ast_context; variable
H A DClangExpressionParser.cpp717 m_ast_context = std::make_unique<TypeSystemClang>( in ClangExpressionParser()
1139 m_ast_context->setSema(&m_compiler->getSema()); in ParseInternal()
1162 decl_map->InstallASTContext(*m_ast_context); in ParseInternal()
1181 m_ast_context->setSema(nullptr); in ParseInternal()