| /src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCTypeEncodingParser.h | 25 CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name, 38 clang::QualType BuildType(TypeSystemClang &clang_ast_ctx, StringLexer &type, 42 clang::QualType BuildStruct(TypeSystemClang &ast_ctx, StringLexer &type, 45 clang::QualType BuildAggregate(TypeSystemClang &clang_ast_ctx, 49 clang::QualType BuildUnion(TypeSystemClang &ast_ctx, StringLexer &type, 52 clang::QualType BuildArray(TypeSystemClang &ast_ctx, StringLexer &type, 57 StructElement ReadStructElement(TypeSystemClang &ast_ctx, StringLexer &type, 60 clang::QualType BuildObjCObjectPointerType(TypeSystemClang &clang_ast_ctx,
|
| H A D | AppleObjCTypeEncodingParser.cpp | 32 m_scratch_ast_ctx_sp = std::make_shared<TypeSystemClang>( in AppleObjCTypeEncodingParser() 69 AppleObjCTypeEncodingParser::ReadStructElement(TypeSystemClang &ast_ctx, in ReadStructElement() 84 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct() 90 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion() 96 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate() 134 TypeSystemClang::StartTagDeclarationDefinition(union_type); in BuildAggregate() 143 TypeSystemClang::AddFieldToRecordType( in BuildAggregate() 148 TypeSystemClang::CompleteTagDeclarationDefinition(union_type); in BuildAggregate() 154 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray() 173 TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType() [all …]
|
| H A D | AppleObjCDeclVendor.h | 40 std::shared_ptr<TypeSystemClang> m_ast_ctx;
|
| /src/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 94 LLDB_PLUGIN_DEFINE(TypeSystemClang) 317 typedef lldb_private::ThreadSafeDenseMap<clang::ASTContext *, TypeSystemClang *> 363 char TypeSystemClang::ID; 365 bool TypeSystemClang::IsOperator(llvm::StringRef name, in IsOperator() 447 TypeSystemClang::ConvertAccessTypeToAccessSpecifier(AccessType access) { in ConvertAccessTypeToAccessSpecifier() 496 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang 508 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang 520 TypeSystemClang::~TypeSystemClang() { Finalize(); } in ~TypeSystemClang() 522 lldb::TypeSystemSP TypeSystemClang::CreateInstance(lldb::LanguageType language, in CreateInstance() 554 return std::make_shared<TypeSystemClang>(ast_name, triple); in CreateInstance() [all …]
|
| H A D | TypeSystemClang.h | 109 class TypeSystemClang : public TypeSystem { 129 explicit TypeSystemClang(llvm::StringRef name, llvm::Triple triple); 136 explicit TypeSystemClang(llvm::StringRef name, 139 ~TypeSystemClang() override; 158 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx); 182 return TypeSystemClang::GetCompleteDecl(&getASTContext(), decl); in GetCompleteDecl() 1098 const TypeSystemClang::TemplateParameterInfos &template_param_infos); 1225 TypeSystemClang(const TypeSystemClang &); 1226 const TypeSystemClang &operator=(const TypeSystemClang &); 1234 class ScratchTypeSystemClang : public TypeSystemClang { [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | UdtRecordCompleter.cpp | 100 TypeSystemClang::RequireCompleteType(method_ct); in AddMethod() 166 auto decl = TypeSystemClang::AddVariableToRecordType( in visitKnownMember() 189 TypeSystemClang::SetIntegerInitializerForVariable( in visitKnownMember() 206 TypeSystemClang::SetFloatingInitializerForVariable( in visitKnownMember() 261 TypeSystemClang::RequireCompleteType(m_ast_builder.ToCompilerType(member_qt)); in visitKnownMember() 317 TypeSystemClang &clang = m_ast_builder.clang(); in complete() 325 TypeSystemClang::RequireCompleteType( in complete() 334 TypeSystemClang::BuildIndirectFields(m_derived_ct); in complete() 335 TypeSystemClang::CompleteTagDeclarationDefinition(m_derived_ct); in complete() 343 UdtRecordCompleter::AddMember(TypeSystemClang &clang, Member *field, in AddMember() [all …]
|
| H A D | PdbAstBuilder.h | 56 PdbAstBuilder(TypeSystemClang &clang); 87 TypeSystemClang &clang() { return m_clang; } in clang() 139 TypeSystemClang &m_clang;
|
| /src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 106 GetBuiltinTypeForPDBEncodingAndBitSize(TypeSystemClang &clang_ast, in GetBuiltinTypeForPDBEncodingAndBitSize() 365 PDBASTParser::PDBASTParser(lldb_private::TypeSystemClang &ast) : m_ast(ast) {} in PDBASTParser() 435 TypeSystemClang::StartTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType() 441 TypeSystemClang::CompleteTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType() 443 TypeSystemClang::SetHasExternalStorage(clang_type.GetOpaqueQualType(), in CreateLLDBTypeFromPDBType() 452 TypeSystemClang::SetHasExternalStorage(clang_type.GetOpaqueQualType(), in CreateLLDBTypeFromPDBType() 512 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType() 525 if (TypeSystemClang::StartTagDeclarationDefinition(ast_enum)) in CreateLLDBTypeFromPDBType() 526 TypeSystemClang::CompleteTagDeclarationDefinition(ast_enum); in CreateLLDBTypeFromPDBType() 569 auto typedef_decl = TypeSystemClang::GetAsTypedefDecl(ast_typedef); in CreateLLDBTypeFromPDBType() [all …]
|
| H A D | PDBASTParser.h | 26 class TypeSystemClang; variable 45 PDBASTParser(lldb_private::TypeSystemClang &ast); 106 lldb_private::TypeSystemClang &m_ast;
|
| H A D | SymbolFilePDB.cpp | 327 TypeSystemClang *clang_type_system = in ParseCompileUnitFunctionForPDBFunc() 328 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in ParseCompileUnitFunctionForPDBFunc() 578 TypeSystemClang *clang_type_system = in ResolveTypeUID() 579 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in ResolveTypeUID() 614 TypeSystemClang *clang_ast_ctx = in CompleteType() 615 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in CompleteType() 636 TypeSystemClang *clang_ast_ctx = in GetDeclForUID() 637 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in GetDeclForUID() 667 TypeSystemClang *clang_ast_ctx = in GetDeclContextForUID() 668 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in GetDeclContextForUID() [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExternalASTSourceCallbacks.h | 33 ClangExternalASTSourceCallbacks(TypeSystemClang &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks() 55 TypeSystemClang &GetTypeSystem() const { return m_ast; } in GetTypeSystem() 66 TypeSystemClang &m_ast;
|
| H A D | NameSearchContext.cpp | 22 auto lldb_ast = type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in AddVarDecl() 48 auto lldb_ast = type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in AddFunDecl() 120 TypeSystemClang::IsOperator(decl_name.getAsString().c_str(), op_kind)) { in AddFunDecl() 121 if (!TypeSystemClang::CheckOverloadedOperatorKindParameterCount( in AddFunDecl()
|
| H A D | ClangASTImporter.cpp | 36 CompilerType ClangASTImporter::CopyType(TypeSystemClang &dst_ast, in CopyType() 40 auto src_ast = src_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in CopyType() 264 TypeSystemClang::GetCompleteDecl(m_src_ctx, original_decl); in ~CompleteTagDeclsScope() 307 CompilerType ClangASTImporter::DeportType(TypeSystemClang &dst, in DeportType() 311 auto src_ctxt = src_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in DeportType() 514 TypeSystemClang::CompleteTagDeclarationDefinition(compiler_type); in CompleteType() 518 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteType() 643 TypeSystemClang::GetASTContext(&dest_ctx)->getDisplayName(), record, in importRecordLayoutFromOrigin() 656 TypeSystemClang::GetCompleteDecl( in importRecordLayoutFromOrigin() 802 if (!TypeSystemClang::GetCompleteDecl(decl_origin.ctx, decl_origin.decl)) in CompleteTagDecl() [all …]
|
| H A D | NameSearchContext.h | 28 TypeSystemClang &m_clang_ts; 63 NameSearchContext(TypeSystemClang &clang_ts, in NameSearchContext()
|
| H A D | ClangExpressionParser.h | 34 class TypeSystemClang; variable 167 std::shared_ptr<TypeSystemClang> m_ast_context;
|
| H A D | ClangUtil.cpp | 22 if (!ct.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>()) in IsClangType() 32 assert(llvm::isa<TypeSystemClang>(decl.GetTypeSystem())); in GetDecl()
|
| H A D | ClangPersistentVariables.h | 25 class TypeSystemClang; variable 73 std::shared_ptr<TypeSystemClang> ctx);
|
| H A D | ClangExpressionDeclMap.cpp | 204 TypeFromUser ClangExpressionDeclMap::DeportType(TypeSystemClang &target, in DeportType() 205 TypeSystemClang &source, in DeportType() 221 auto ast = parser_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in AddPersistentVariable() 643 TypeSystemClang *ClangExpressionDeclMap::GetTypeSystemClang() { in GetTypeSystemClang() 657 return llvm::dyn_cast_or_null<TypeSystemClang>( in GetTypeSystemClang() 814 TypeSystemClang::DeclContextGetAsCXXMethodDecl(function_decl_ctx); in LookUpLldbClass() 919 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in LookUpLldbObjCClass() 967 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in LookUpLldbObjCClass() 970 if (!TypeSystemClang::IsObjCObjectPointerType(self_clang_type)) in LookUpLldbObjCClass() 994 TypeSystemClang *frame_ast = llvm::dyn_cast_or_null<TypeSystemClang>( in LookupLocalVarNamespace() [all …]
|
| H A D | ClangASTSource.h | 64 void InstallASTContext(TypeSystemClang &ast_context); 353 TypeSystemClang *GetTypeSystem() const { return m_clang_ast_context; } in GetTypeSystem() 388 TypeSystemClang *m_clang_ast_context;
|
| H A D | ClangExpressionDeclMap.h | 655 TypeFromUser DeportType(TypeSystemClang &target, TypeSystemClang &source, 658 TypeSystemClang *GetTypeSystemClang();
|
| H A D | ClangUserExpression.cpp | 153 TypeSystemClang::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext() 182 TypeSystemClang::DeclContextGetAsObjCMethodDecl( in ScanContext() 215 TypeSystemClang::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext() 223 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext() 291 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in ScanContext() 293 } else if (TypeSystemClang::IsObjCObjectPointerType( in ScanContext()
|
| H A D | ClangASTSource.cpp | 62 void ClangASTSource::InstallASTContext(TypeSystemClang &clang_ast_context) { in InstallASTContext() 227 if (TypeSystemClang::GetCompleteDecl( in FindCompleteType() 254 if (TypeSystemClang::GetCompleteDecl(&candidate_tag_decl->getASTContext(), in FindCompleteType() 745 TypeSystemClang::GetCompleteDecl(original_ctx, original_interface_decl); in FindObjCMethodDeclsWithOrigin() 1012 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in FindObjCMethodDecls() 1443 TypeSystemClang::DeclContextGetTypeSystemClang(namespace_decl); in AddNamespace() 1447 TypeSystemClang::DeclContextGetAsNamespaceDecl(namespace_decl); in AddNamespace() 1480 auto src_ast = ts.dyn_cast_or_null<TypeSystemClang>(); in GuardedCopyType()
|
| /src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 68 DWARFASTParserClang::DWARFASTParserClang(TypeSystemClang &ast) in DWARFASTParserClang() 227 clang::TagDecl *tag_decl = TypeSystemClang::GetAsTagDecl(type); in ParseTypeFromClangModule() 243 static void PrepareContextToReceiveMembers(TypeSystemClang &ast, in PrepareContextToReceiveMembers() 826 TypeSystemClang::TemplateParameterInfos template_param_infos; in GetDIEClassTemplateParams() 937 TypeSystemClang::GetDeclContextForType(clang_type); in ParseEnum() 946 if (TypeSystemClang::StartTagDeclarationDefinition(clang_type)) { in ParseEnum() 953 TypeSystemClang::CompleteTagDeclarationDefinition(clang_type); in ParseEnum() 1019 if (!TypeSystemClang::IsObjCObjectOrInterfaceType(type_clang_forward_type)) in ParseObjCMethod() 1120 if (!TypeSystemClang::IsCXXClassType(class_opaque_type)) in ParseCXXMethod() 1125 TypeSystemClang::GetDeclContextForType(class_opaque_type), die, in ParseCXXMethod() [all …]
|
| H A D | DWARFASTParserClang.h | 46 DWARFASTParserClang(lldb_private::TypeSystemClang &ast); 136 lldb_private::TypeSystemClang &m_ast; 166 lldb_private::TypeSystemClang::TemplateParameterInfos 171 lldb_private::TypeSystemClang::TemplateParameterInfos
|
| /src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/ |
| H A D | ObjCLanguageRuntime.h | 34 class TypeSystemClang; variable 164 virtual CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name, 169 std::shared_ptr<TypeSystemClang> m_scratch_ast_ctx_sp;
|