| /openbsd-src/gnu/llvm/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 | 30 m_scratch_ast_ctx_sp = std::make_shared<TypeSystemClang>( in AppleObjCTypeEncodingParser() 67 AppleObjCTypeEncodingParser::ReadStructElement(TypeSystemClang &ast_ctx, in ReadStructElement() 82 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct() 88 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion() 94 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate() 132 TypeSystemClang::StartTagDeclarationDefinition(union_type); in BuildAggregate() 141 TypeSystemClang::AddFieldToRecordType( in BuildAggregate() 146 TypeSystemClang::CompleteTagDeclarationDefinition(union_type); in BuildAggregate() 152 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray() 171 TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 90 LLDB_PLUGIN_DEFINE(TypeSystemClang) 314 typedef lldb_private::ThreadSafeDenseMap<clang::ASTContext *, TypeSystemClang *> 360 char TypeSystemClang::ID; 362 bool TypeSystemClang::IsOperator(llvm::StringRef name, in IsOperator() 443 TypeSystemClang::ConvertAccessTypeToAccessSpecifier(AccessType access) { in ConvertAccessTypeToAccessSpecifier() 556 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang 566 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang 576 TypeSystemClang::~TypeSystemClang() { Finalize(); } in ~TypeSystemClang() 578 lldb::TypeSystemSP TypeSystemClang::CreateInstance(lldb::LanguageType language, in CreateInstance() 610 return std::make_shared<TypeSystemClang>(ast_name, triple); in CreateInstance() [all …]
|
| H A D | TypeSystemClang.h | 106 class TypeSystemClang : public TypeSystem { 126 explicit TypeSystemClang(llvm::StringRef name, llvm::Triple triple); 133 explicit TypeSystemClang(llvm::StringRef name, 136 ~TypeSystemClang() override; 155 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx); 179 return TypeSystemClang::GetCompleteDecl(&getASTContext(), decl); in GetCompleteDecl() 1016 const TypeSystemClang::TemplateParameterInfos &template_param_infos); 1132 TypeSystemClang(const TypeSystemClang &); 1133 const TypeSystemClang &operator=(const TypeSystemClang &); 1141 class ScratchTypeSystemClang : public TypeSystemClang { [all …]
|
| H A D | CMakeLists.txt | 2 TypeSystemClang.cpp
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | UdtRecordCompleter.cpp | 97 TypeSystemClang::RequireCompleteType(method_ct); in AddMethod() 163 auto decl = TypeSystemClang::AddVariableToRecordType( in visitKnownMember() 186 TypeSystemClang::SetIntegerInitializerForVariable( in visitKnownMember() 203 TypeSystemClang::SetFloatingInitializerForVariable( in visitKnownMember() 258 TypeSystemClang::RequireCompleteType(m_ast_builder.ToCompilerType(member_qt)); in visitKnownMember() 314 TypeSystemClang &clang = m_ast_builder.clang(); in complete() 322 TypeSystemClang::RequireCompleteType( in complete() 331 TypeSystemClang::BuildIndirectFields(m_derived_ct); in complete() 332 TypeSystemClang::CompleteTagDeclarationDefinition(m_derived_ct); in complete() 340 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;
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 106 GetBuiltinTypeForPDBEncodingAndBitSize(TypeSystemClang &clang_ast, in GetBuiltinTypeForPDBEncodingAndBitSize() 366 PDBASTParser::PDBASTParser(lldb_private::TypeSystemClang &ast) : m_ast(ast) {} in PDBASTParser() 436 TypeSystemClang::StartTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType() 442 TypeSystemClang::CompleteTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType() 444 TypeSystemClang::SetHasExternalStorage(clang_type.GetOpaqueQualType(), in CreateLLDBTypeFromPDBType() 453 TypeSystemClang::SetHasExternalStorage(clang_type.GetOpaqueQualType(), in CreateLLDBTypeFromPDBType() 513 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType() 526 if (TypeSystemClang::StartTagDeclarationDefinition(ast_enum)) in CreateLLDBTypeFromPDBType() 527 TypeSystemClang::CompleteTagDeclarationDefinition(ast_enum); in CreateLLDBTypeFromPDBType() 571 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 | 323 TypeSystemClang *clang_type_system = in ParseCompileUnitFunctionForPDBFunc() 324 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in ParseCompileUnitFunctionForPDBFunc() 574 TypeSystemClang *clang_type_system = in ResolveTypeUID() 575 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in ResolveTypeUID() 610 TypeSystemClang *clang_ast_ctx = in CompleteType() 611 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in CompleteType() 632 TypeSystemClang *clang_ast_ctx = in GetDeclForUID() 633 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in GetDeclForUID() 663 TypeSystemClang *clang_ast_ctx = in GetDeclContextForUID() 664 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in GetDeclContextForUID() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExternalASTSourceCallbacks.h | 27 ClangExternalASTSourceCallbacks(TypeSystemClang &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks() 49 TypeSystemClang &GetTypeSystem() const { return m_ast; } in GetTypeSystem() 60 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 | 33 CompilerType ClangASTImporter::CopyType(TypeSystemClang &dst_ast, in CopyType() 37 auto src_ast = src_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in CopyType() 261 TypeSystemClang::GetCompleteDecl(m_src_ctx, original_decl); in ~CompleteTagDeclsScope() 304 CompilerType ClangASTImporter::DeportType(TypeSystemClang &dst, in DeportType() 308 auto src_ctxt = src_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in DeportType() 511 TypeSystemClang::CompleteTagDeclarationDefinition(compiler_type); in CompleteType() 515 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteType() 560 if (!TypeSystemClang::GetCompleteDecl(decl_origin.ctx, decl_origin.decl)) in CompleteTagDecl() 578 if (!TypeSystemClang::GetCompleteDecl(origin_ast_ctx, origin_decl)) in CompleteTagDeclWithOrigin() 600 if (!TypeSystemClang::GetCompleteDecl(decl_origin.ctx, decl_origin.decl)) in CompleteObjCInterfaceDecl() [all …]
|
| H A D | NameSearchContext.h | 28 TypeSystemClang &m_clang_ts; 64 NameSearchContext(TypeSystemClang &clang_ts, in NameSearchContext()
|
| H A D | ClangExpressionParser.h | 34 class TypeSystemClang; variable 180 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.h | 655 TypeFromUser DeportType(TypeSystemClang &target, TypeSystemClang &source, 658 TypeSystemClang *GetTypeSystemClang();
|
| H A D | ClangASTSource.h | 64 void InstallASTContext(TypeSystemClang &ast_context); 353 TypeSystemClang *GetTypeSystem() const { return m_clang_ast_context; } in GetTypeSystem() 383 TypeSystemClang *m_clang_ast_context;
|
| H A D | ClangExpressionDeclMap.cpp | 205 TypeFromUser ClangExpressionDeclMap::DeportType(TypeSystemClang &target, in DeportType() 206 TypeSystemClang &source, in DeportType() 222 auto ast = parser_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in AddPersistentVariable() 649 TypeSystemClang *ClangExpressionDeclMap::GetTypeSystemClang() { in GetTypeSystemClang() 663 return llvm::dyn_cast_or_null<TypeSystemClang>( in GetTypeSystemClang() 820 TypeSystemClang::DeclContextGetAsCXXMethodDecl(function_decl_ctx); in LookUpLldbClass() 925 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in LookUpLldbObjCClass() 973 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in LookUpLldbObjCClass() 976 if (!TypeSystemClang::IsObjCObjectPointerType(self_clang_type)) in LookUpLldbObjCClass() 1000 TypeSystemClang *frame_ast = llvm::dyn_cast_or_null<TypeSystemClang>( in LookupLocalVarNamespace() [all …]
|
| H A D | ClangUserExpression.cpp | 154 TypeSystemClang::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext() 183 TypeSystemClang::DeclContextGetAsObjCMethodDecl( in ScanContext() 216 TypeSystemClang::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext() 224 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext() 292 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in ScanContext() 294 } else if (TypeSystemClang::IsObjCObjectPointerType( in ScanContext()
|
| H A D | ClangASTImporter.h | 36 class TypeSystemClang; variable 94 CompilerType CopyType(TypeSystemClang &dst, const CompilerType &src_type); 106 CompilerType DeportType(TypeSystemClang &dst, const CompilerType &src_type);
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 63 DWARFASTParserClang::DWARFASTParserClang(TypeSystemClang &ast) in DWARFASTParserClang() 207 clang::TagDecl *tag_decl = TypeSystemClang::GetAsTagDecl(type); in ParseTypeFromClangModule() 220 bool started = TypeSystemClang::StartTagDeclarationDefinition(type); in ForcefullyCompleteType() 222 TypeSystemClang::CompleteTagDeclarationDefinition(type); in ForcefullyCompleteType() 225 auto ts = ts_sp.dyn_cast_or_null<TypeSystemClang>(); in ForcefullyCompleteType() 233 static void PrepareContextToReceiveMembers(TypeSystemClang &ast, in PrepareContextToReceiveMembers() 748 TypeSystemClang::TemplateParameterInfos template_param_infos; in GetDIEClassTemplateParams() 835 LinkDeclContextToDIE(TypeSystemClang::GetDeclContextForType(clang_type), die); in ParseEnum() 843 if (TypeSystemClang::StartTagDeclarationDefinition(clang_type)) { in ParseEnum() 850 TypeSystemClang::CompleteTagDeclarationDefinition(clang_type); in ParseEnum() [all …]
|
| H A D | DWARFASTParserClang.h | 41 DWARFASTParserClang(lldb_private::TypeSystemClang &ast); 121 lldb_private::TypeSystemClang &m_ast; 136 lldb_private::TypeSystemClang::TemplateParameterInfos 141 lldb_private::TypeSystemClang::TemplateParameterInfos
|
| /openbsd-src/gnu/usr.bin/clang/liblldbPluginTypeSystem/ |
| H A D | Makefile | 8 SRCS= TypeSystemClang.cpp \
|