Home
last modified time | relevance | path

Searched refs:m_ast (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp30 m_ast.reset( in SetUp()
34 void TearDown() override { m_ast.reset(); } in TearDown()
37 std::unique_ptr<TypeSystemClang> m_ast; member in TestTypeSystemClang
40 return ClangUtil::GetQualType(m_ast->GetBasicTypeFromAST(type)); in GetBasicQualType()
45 m_ast->GetBuiltinTypeByName(ConstString(name))); in GetBasicQualType()
50 clang::ASTContext &context = m_ast->getASTContext(); in TEST_F()
209 VerifyEncodingAndBitSize(*m_ast, eEncodingSint, 8); in TEST_F()
210 VerifyEncodingAndBitSize(*m_ast, eEncodingSint, 16); in TEST_F()
211 VerifyEncodingAndBitSize(*m_ast, eEncodingSint, 32); in TEST_F()
212 VerifyEncodingAndBitSize(*m_ast, eEncodingSint, 64); in TEST_F()
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DPDBASTParser.cpp356 PDBASTParser::PDBASTParser(lldb_private::TypeSystemClang &ast) : m_ast(ast) {} in PDBASTParser()
366 auto symbol_file = m_ast.GetSymbolFile(); in CreateLLDBTypeFromPDBType()
401 CompilerType clang_type = m_ast.GetTypeForIdentifier<clang::CXXRecordDecl>( in CreateLLDBTypeFromPDBType()
412 clang_type = m_ast.CreateRecordType( in CreateLLDBTypeFromPDBType()
418 m_ast.GetAsCXXRecordDecl(clang_type.GetOpaqueQualType()); in CreateLLDBTypeFromPDBType()
423 m_ast.getASTContext(), GetMSInheritance(*udt)); in CreateLLDBTypeFromPDBType()
459 type.getSymIndexId(), m_ast.GetSymbolFile(), ConstString(name), in CreateLLDBTypeFromPDBType()
474 CompilerType ast_enum = m_ast.GetTypeForIdentifier<clang::EnumDecl>( in CreateLLDBTypeFromPDBType()
492 m_ast, *underlying_type_up, encoding, bytes * 8); in CreateLLDBTypeFromPDBType()
494 builtin_type = m_ast.GetBasicType(eBasicTypeInt); in CreateLLDBTypeFromPDBType()
[all …]
DPDBASTParser.h106 lldb_private::TypeSystemClang &m_ast; variable
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp61 : m_ast(ast), m_die_to_decl_ctx(), m_decl_ctx_to_die() {} in DWARFASTParserClang()
193 GetClangASTImporter().CopyType(m_ast, pcm_type); in ParseTypeFromClangModule()
565 m_ast, GetClangASTImporter(), in ParseTypeModifier()
620 clang_type = m_ast.GetBasicType(eBasicTypeNullPtr); in ParseTypeModifier()
629 clang_type = m_ast.GetBuiltinTypeForDWARFEncodingAndBitSize( in ParseTypeModifier()
685 clang_type = m_ast.CreateBlockPointerType( in ParseTypeModifier()
709 clang_type = m_ast.GetBasicType(eBasicTypeObjCID); in ParseTypeModifier()
720 clang_type = m_ast.GetBasicType(eBasicTypeObjCClass); in ParseTypeModifier()
731 clang_type = m_ast.GetBasicType(eBasicTypeObjCSel); in ParseTypeModifier()
753 clang_type = m_ast.GetBasicType(eBasicTypeObjCID); in ParseTypeModifier()
[all …]
DDWARFASTParserClang.h88 lldb_private::TypeSystemClang &m_ast; variable
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExternalASTSourceCallbacks.h26 ClangExternalASTSourceCallbacks(TypeSystemClang &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks()
48 TypeSystemClang &GetTypeSystem() const { return m_ast; } in GetTypeSystem()
59 TypeSystemClang &m_ast;
DClangExternalASTSourceCallbacks.cpp20 m_ast.CompleteTagDecl(tag_decl); in CompleteType()
25 m_ast.CompleteObjCInterfaceDecl(objc_decl); in CompleteType()
34 return m_ast.LayoutRecordType(Record, Size, Alignment, FieldOffsets, in layoutRecordType()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DSymbolFileNativePDB.cpp316 m_ast = std::make_unique<PdbAstBuilder>(*m_objfile_sp, *m_index, *clang); in InitializeObject()
360 m_ast->GetOrCreateBlockDecl(block_id); in CreateBlock()
401 m_ast->GetOrCreateFunctionDecl(func_id); in CreateFunction()
694 clang::QualType qt = m_ast->GetOrCreateType(best_decl_id); in CreateAndCacheType()
696 TypeSP result = CreateType(best_decl_id, m_ast->ToCompilerType(qt)); in CreateAndCacheType()
784 m_ast->GetOrCreateVariableDecl(var_id); in CreateGlobalVariable()
876 clang::DeclContext *context = m_ast->FromCompilerDeclContext(decl_ctx); in ParseDeclsForContext()
879 m_ast->ParseDeclsForContext(*context); in ParseDeclsForContext()
1156 void SymbolFileNativePDB::DumpClangAST(Stream &s) { m_ast->Dump(s); } in DumpClangAST()
1340 m_ast->GetOrCreateVariableDecl(scope_id, var_id); in CreateLocalVariable()
[all …]
DSymbolFileNativePDB.h237 std::unique_ptr<PdbAstBuilder> m_ast; variable