Home
last modified time | relevance | path

Searched refs:TypeSystemClang (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.h25 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 DAppleObjCTypeEncodingParser.cpp30 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 …]
H A DAppleObjCDeclVendor.h40 std::shared_ptr<TypeSystemClang> m_ast_ctx;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp93 LLDB_PLUGIN_DEFINE(TypeSystemClang)
362 char TypeSystemClang::ID;
560 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang
570 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang
580 TypeSystemClang::~TypeSystemClang() { Finalize(); } in ~TypeSystemClang()
660 void TypeSystemClang::Finalize() { in Finalize()
769 TypeSystemClang *TypeSystemClang::GetASTContext(clang::ASTContext *ast) { in GetASTContext()
3097 bool TypeSystemClang::IsTypeImpl( in IsTypeImpl()
9384 TypeSystemClang *ast = llvm::cast<TypeSystemClang>(dc.GetTypeSystem()); in DeclContextGetMetaData()
9390 TypeSystemClang *ast = in DeclContextGetTypeSystemClang()
[all …]
H A DTypeSystemClang.h106 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()
1198 TypeSystemClang(const TypeSystemClang &);
1199 const TypeSystemClang &operator=(const TypeSystemClang &);
1207 class ScratchTypeSystemClang : public TypeSystemClang {
1299 return ClassID == &ID || TypeSystemClang::isA(ClassID); in isA()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp97 TypeSystemClang::RequireCompleteType(method_ct); in AddMethod()
163 auto decl = TypeSystemClang::AddVariableToRecordType( in visitKnownMember()
186 TypeSystemClang::SetIntegerInitializerForVariable( in visitKnownMember()
203 TypeSystemClang::SetFloatingInitializerForVariable( in visitKnownMember()
314 TypeSystemClang &clang = m_ast_builder.clang(); in complete()
322 TypeSystemClang::RequireCompleteType( in complete()
331 TypeSystemClang::BuildIndirectFields(m_derived_ct); in complete()
350 field_decl = TypeSystemClang::AddFieldToRecordType( in AddMember()
367 TypeSystemClang::StartTagDeclarationDefinition(record_ct); in AddMember()
385 field_decl = TypeSystemClang::AddFieldToRecordType( in AddMember()
[all …]
H A DPdbAstBuilder.h56 PdbAstBuilder(TypeSystemClang &clang);
87 TypeSystemClang &clang() { return m_clang; } in clang()
139 TypeSystemClang &m_clang;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp106 GetBuiltinTypeForPDBEncodingAndBitSize(TypeSystemClang &clang_ast, in GetBuiltinTypeForPDBEncodingAndBitSize()
435 TypeSystemClang::StartTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType()
512 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType()
525 if (TypeSystemClang::StartTagDeclarationDefinition(ast_enum)) in CreateLLDBTypeFromPDBType()
687 if (TypeSystemClang::IsCXXClassType(element_ast_type) && in CreateLLDBTypeFromPDBType()
752 pointer_ast_type = TypeSystemClang::CreateMemberPointerType( in CreateLLDBTypeFromPDBType()
1227 TypeSystemClang::BuildIndirectFields(compiler_type); in CompleteTypeFromUDT()
1276 auto decl = TypeSystemClang::AddFieldToRecordType( in AddRecordMembers()
1292 auto decl = TypeSystemClang::AddVariableToRecordType( in AddRecordMembers()
1316 TypeSystemClang::SetIntegerInitializerForVariable( in AddRecordMembers()
[all …]
H A DPDBASTParser.h26 class TypeSystemClang; variable
45 PDBASTParser(lldb_private::TypeSystemClang &ast);
106 lldb_private::TypeSystemClang &m_ast;
H A DSymbolFilePDB.cpp327 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()
667 TypeSystemClang *clang_ast_ctx = in GetDeclContextForUID()
698 TypeSystemClang *clang_ast_ctx = in GetDeclContextContainingUID()
728 TypeSystemClang *clang_ast_ctx = in ParseDeclsForContext()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.h27 ClangExternalASTSourceCallbacks(TypeSystemClang &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks()
49 TypeSystemClang &GetTypeSystem() const { return m_ast; } in GetTypeSystem()
60 TypeSystemClang &m_ast;
H A DNameSearchContext.cpp22 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 DClangASTImporter.cpp33 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()
511 TypeSystemClang::CompleteTagDeclarationDefinition(compiler_type); in CompleteType()
515 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteType()
578 if (!TypeSystemClang::GetCompleteDecl(origin_ast_ctx, origin_decl)) in CompleteTagDeclWithOrigin()
715 TypeSystemClang *ast = TypeSystemClang::GetASTContext(decl_origin.ctx); in GetDeclMetadata()
718 TypeSystemClang *ast = TypeSystemClang::GetASTContext(&decl->getASTContext()); in GetDeclMetadata()
1015 TypeSystemClang &to_ts = to_source.GetTypeSystem(); in RemapModule()
[all …]
H A DNameSearchContext.h28 TypeSystemClang &m_clang_ts;
64 NameSearchContext(TypeSystemClang &clang_ts, in NameSearchContext()
H A DClangExpressionParser.h34 class TypeSystemClang; variable
180 std::shared_ptr<TypeSystemClang> m_ast_context;
H A DClangUtil.cpp22 if (!ct.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>()) in IsClangType()
32 assert(llvm::isa<TypeSystemClang>(decl.GetTypeSystem())); in GetDecl()
H A DClangPersistentVariables.h25 class TypeSystemClang; variable
73 std::shared_ptr<TypeSystemClang> ctx);
H A DClangExpressionDeclMap.h655 TypeFromUser DeportType(TypeSystemClang &target, TypeSystemClang &source,
658 TypeSystemClang *GetTypeSystemClang();
H A DClangASTSource.h64 void InstallASTContext(TypeSystemClang &ast_context);
353 TypeSystemClang *GetTypeSystem() const { return m_clang_ast_context; } in GetTypeSystem()
383 TypeSystemClang *m_clang_ast_context;
H A DClangExpressionDeclMap.cpp204 TypeFromUser ClangExpressionDeclMap::DeportType(TypeSystemClang &target, in DeportType()
205 TypeSystemClang &source, in DeportType()
644 TypeSystemClang *ClangExpressionDeclMap::GetTypeSystemClang() { in GetTypeSystemClang()
658 return llvm::dyn_cast_or_null<TypeSystemClang>( in GetTypeSystemClang()
968 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in LookUpLldbObjCClass()
971 if (!TypeSystemClang::IsObjCObjectPointerType(self_clang_type)) in LookUpLldbObjCClass()
995 TypeSystemClang *frame_ast = llvm::dyn_cast_or_null<TypeSystemClang>( in LookupLocalVarNamespace()
1150 TypeSystemClang *ast = llvm::dyn_cast_or_null<TypeSystemClang>( in SearchFunctionsInSymbolContexts()
1494 auto clang_ast = ts.dyn_cast_or_null<TypeSystemClang>(); in GetVariableValue()
1614 user_type.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>(); in AddOneVariable()
[all …]
H A DClangUserExpression.cpp153 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 DClangASTImporter.h36 class TypeSystemClang; variable
94 CompilerType CopyType(TypeSystemClang &dst, const CompilerType &src_type);
106 CompilerType DeportType(TypeSystemClang &dst, const CompilerType &src_type);
H A DClangASTSource.cpp63 void ClangASTSource::InstallASTContext(TypeSystemClang &clang_ast_context) { in InstallASTContext()
228 if (TypeSystemClang::GetCompleteDecl( in FindCompleteType()
255 if (TypeSystemClang::GetCompleteDecl(&candidate_tag_decl->getASTContext(), in FindCompleteType()
795 TypeSystemClang::GetCompleteDecl(original_ctx, original_interface_decl); in FindObjCMethodDeclsWithOrigin()
1062 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in FindObjCMethodDecls()
1500 TypeSystemClang::GetCompleteDecl( in layoutRecordType()
1682 TypeSystemClang::DeclContextGetTypeSystemClang(namespace_decl); in AddNamespace()
1686 TypeSystemClang::DeclContextGetAsNamespaceDecl(namespace_decl); in AddNamespace()
1719 auto src_ast = ts.dyn_cast_or_null<TypeSystemClang>(); in GuardedCopyType()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp66 DWARFASTParserClang::DWARFASTParserClang(TypeSystemClang &ast) in DWARFASTParserClang()
241 TypeSystemClang::CompleteTagDeclarationDefinition(type); in ForcefullyCompleteType()
244 auto ts = ts_sp.dyn_cast_or_null<TypeSystemClang>(); in ForcefullyCompleteType()
1894 TypeSystemClang::GetAsRecordDecl(clang_type); in ParseStructureLikeDIE()
2001 return TypeSystemClang::AddObjCClassProperty( in Finalize()
2219 TypeSystemClang::RequireCompleteType( in CompleteRecordType()
2229 TypeSystemClang::BuildIndirectFields(clang_type); in CompleteRecordType()
2815 TypeSystemClang &ts = *ts_ptr; in ExtractIntFromFormValue()
3046 TypeSystemClang::AddFieldToRecordType( in ParseSingleMember()
3144 auto ast = ts.dyn_cast_or_null<TypeSystemClang>(); in ParseChildMembers()
[all …]
H A DDWARFASTParserClang.h45 DWARFASTParserClang(lldb_private::TypeSystemClang &ast);
132 lldb_private::TypeSystemClang &m_ast;
162 lldb_private::TypeSystemClang::TemplateParameterInfos
167 lldb_private::TypeSystemClang::TemplateParameterInfos

123