Home
last modified time | relevance | path

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

12

/freebsd-13.1/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.cpp28 m_scratch_ast_ctx_up = std::make_unique<TypeSystemClang>( in AppleObjCTypeEncodingParser()
65 AppleObjCTypeEncodingParser::ReadStructElement(TypeSystemClang &ast_ctx, in ReadStructElement()
80 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct()
86 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion()
92 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate()
130 TypeSystemClang::StartTagDeclarationDefinition(union_type); in BuildAggregate()
139 TypeSystemClang::AddFieldToRecordType( in BuildAggregate()
144 TypeSystemClang::CompleteTagDeclarationDefinition(union_type); in BuildAggregate()
150 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray()
168 TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp357 char TypeSystemClang::ID;
551 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang
561 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang
571 TypeSystemClang::~TypeSystemClang() { Finalize(); } in ~TypeSystemClang()
768 TypeSystemClang *TypeSystemClang::GetASTContext(clang::ASTContext *ast) { in GetASTContext()
1185 TypeSystemClang *ast = in AreTypesSame()
7238 TypeSystemClang *ast = in AddFieldToRecordType()
7745 TypeSystemClang *ast = in SetObjCSuperClass()
9681 TypeSystemClang *ast = llvm::cast<TypeSystemClang>(dc.GetTypeSystem()); in DeclContextGetMetaData()
9687 TypeSystemClang *ast = in DeclContextGetTypeSystemClang()
[all …]
H A DTypeSystemClang.h106 class TypeSystemClang : public TypeSystem {
133 explicit TypeSystemClang(llvm::StringRef name,
136 ~TypeSystemClang() override;
157 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx);
1102 TypeSystemClang(const TypeSystemClang &);
1103 const TypeSystemClang &operator=(const TypeSystemClang &);
1111 class ScratchTypeSystemClang : public TypeSystemClang {
1159 static TypeSystemClang *
1171 static TypeSystemClang *GetForTarget(Target &target, in GetForTarget()
1200 return ClassID == &ID || TypeSystemClang::isA(ClassID); in isA()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp21 TypeSystemClang *lldb_ast = in AddVarDecl()
22 llvm::dyn_cast<TypeSystemClang>(type.GetTypeSystem()); in AddVarDecl()
48 TypeSystemClang *lldb_ast = in AddFunDecl()
49 llvm::dyn_cast<TypeSystemClang>(type.GetTypeSystem()); in AddFunDecl()
120 TypeSystemClang::IsOperator(decl_name.getAsString().c_str(), op_kind)) { in AddFunDecl()
121 if (!TypeSystemClang::CheckOverloadedOperatorKindParameterCount( in AddFunDecl()
H A DClangExternalASTSourceCallbacks.h26 ClangExternalASTSourceCallbacks(TypeSystemClang &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks()
48 TypeSystemClang &GetTypeSystem() const { return m_ast; } in GetTypeSystem()
59 TypeSystemClang &m_ast;
H A DClangASTImporter.cpp31 CompilerType ClangASTImporter::CopyType(TypeSystemClang &dst_ast, in CopyType()
35 TypeSystemClang *src_ast = in CopyType()
36 llvm::dyn_cast_or_null<TypeSystemClang>(src_type.GetTypeSystem()); in CopyType()
261 TypeSystemClang::GetCompleteDecl(m_src_ctx, original_decl); in ~CompleteTagDeclsScope()
304 CompilerType ClangASTImporter::DeportType(TypeSystemClang &dst, in DeportType()
308 TypeSystemClang *src_ctxt = in DeportType()
309 llvm::cast<TypeSystemClang>(src_type.GetTypeSystem()); in DeportType()
714 TypeSystemClang *ast = TypeSystemClang::GetASTContext(decl_origin.ctx); in GetDeclMetadata()
717 TypeSystemClang *ast = TypeSystemClang::GetASTContext(&decl->getASTContext()); in GetDeclMetadata()
1050 TypeSystemClang &to_ts = to_source.GetTypeSystem(); in RemapModule()
[all …]
H A DClangPersistentVariables.h24 class TypeSystemClang; variable
72 TypeSystemClang *ctx);
100 TypeSystemClang *m_context = nullptr;
H A DClangExpressionDeclMap.h382 TypeSystemClang *GetScratchContext(Target &target) { in GetScratchContext()
625 TypeFromUser DeportType(TypeSystemClang &target, TypeSystemClang &source,
628 TypeSystemClang *GetTypeSystemClang();
H A DNameSearchContext.h28 TypeSystemClang &m_clang_ts;
64 NameSearchContext(TypeSystemClang &clang_ts, in NameSearchContext()
H A DClangExpressionDeclMap.cpp184 TypeFromUser ClangExpressionDeclMap::DeportType(TypeSystemClang &target, in DeportType()
201 TypeSystemClang *ast = in AddPersistentVariable()
263 TypeSystemClang *context = GetScratchContext(*target); in AddPersistentVariable()
625 TypeSystemClang *ClangExpressionDeclMap::GetTypeSystemClang() { in GetTypeSystemClang()
639 return llvm::dyn_cast_or_null<TypeSystemClang>( in GetTypeSystemClang()
969 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in LookUpLldbObjCClass()
972 if (!TypeSystemClang::IsObjCObjectPointerType(self_clang_type)) in LookUpLldbObjCClass()
1000 TypeSystemClang *frame_ast = llvm::dyn_cast_or_null<TypeSystemClang>( in LookupLocalVarNamespace()
1132 TypeSystemClang *ast = llvm::dyn_cast_or_null<TypeSystemClang>( in SearchFunctionsInSymbolContexts()
1478 TypeSystemClang *clang_ast = llvm::dyn_cast_or_null<TypeSystemClang>( in GetVariableValue()
[all …]
H A DClangExpressionParser.h34 class TypeSystemClang; variable
180 std::unique_ptr<TypeSystemClang> m_ast_context;
H A DClangUtil.cpp22 if (llvm::dyn_cast_or_null<TypeSystemClang>(ct.GetTypeSystem()) == nullptr) in IsClangType()
32 assert(llvm::isa<TypeSystemClang>(decl.GetTypeSystem())); in GetDecl()
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 DClangASTSource.cpp62 void ClangASTSource::InstallASTContext(TypeSystemClang &clang_ast_context) { in InstallASTContext()
80 TypeSystemClang *scratch_ast = ScratchTypeSystemClang::GetForTarget( in ~ClangASTSource()
229 if (TypeSystemClang::GetCompleteDecl( in FindCompleteType()
268 if (!TypeSystemClang::DeclsAreEquivalent(const_cast<TagDecl *>(decl), in FindCompleteType()
795 TypeSystemClang::GetCompleteDecl(original_ctx, original_interface_decl); in FindObjCMethodDeclsWithOrigin()
1071 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in FindObjCMethodDecls()
1512 TypeSystemClang::GetCompleteDecl( in layoutRecordType()
1692 TypeSystemClang::DeclContextGetTypeSystemClang(namespace_decl); in AddNamespace()
1696 TypeSystemClang::DeclContextGetAsNamespaceDecl(namespace_decl); in AddNamespace()
1728 TypeSystemClang *src_ast = in GuardedCopyType()
[all …]
H A DClangUserExpression.cpp157 TypeSystemClang::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext()
186 TypeSystemClang::DeclContextGetAsObjCMethodDecl( in ScanContext()
219 TypeSystemClang::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext()
227 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
295 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in ScanContext()
297 } else if (TypeSystemClang::IsObjCObjectPointerType( in ScanContext()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp103 GetBuiltinTypeForPDBEncodingAndBitSize(TypeSystemClang &clang_ast, in GetBuiltinTypeForPDBEncodingAndBitSize()
426 TypeSystemClang::StartTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType()
504 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType()
517 if (TypeSystemClang::StartTagDeclarationDefinition(ast_enum)) in CreateLLDBTypeFromPDBType()
682 if (TypeSystemClang::IsCXXClassType(element_ast_type) && in CreateLLDBTypeFromPDBType()
747 pointer_ast_type = TypeSystemClang::CreateMemberPointerType( in CreateLLDBTypeFromPDBType()
1218 TypeSystemClang::BuildIndirectFields(compiler_type); in CompleteTypeFromUDT()
1267 auto decl = TypeSystemClang::AddFieldToRecordType( in AddRecordMembers()
1283 auto decl = TypeSystemClang::AddVariableToRecordType( in AddRecordMembers()
1298 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.cpp315 TypeSystemClang *clang_type_system = in ParseCompileUnitFunctionForPDBFunc()
316 llvm::dyn_cast_or_null<TypeSystemClang>(&type_system_or_err.get()); in ParseCompileUnitFunctionForPDBFunc()
565 TypeSystemClang *clang_type_system = in ResolveTypeUID()
566 llvm::dyn_cast_or_null<TypeSystemClang>(&type_system_or_err.get()); in ResolveTypeUID()
602 TypeSystemClang *clang_ast_ctx = in CompleteType()
603 llvm::dyn_cast_or_null<TypeSystemClang>(&type_system_or_err.get()); in CompleteType()
624 TypeSystemClang *clang_ast_ctx = in GetDeclForUID()
625 llvm::dyn_cast_or_null<TypeSystemClang>(&type_system_or_err.get()); in GetDeclForUID()
654 TypeSystemClang *clang_ast_ctx = in GetDeclContextForUID()
684 TypeSystemClang *clang_ast_ctx = in GetDeclContextContainingUID()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp134 auto decl = TypeSystemClang::AddVariableToRecordType( in visitKnownMember()
157 TypeSystemClang::SetIntegerInitializerForVariable( in visitKnownMember()
174 TypeSystemClang::SetFloatingInitializerForVariable( in visitKnownMember()
231 clang::FieldDecl *decl = TypeSystemClang::AddFieldToRecordType( in visitKnownMember()
290 TypeSystemClang &clang = m_ast_builder.clang(); in complete()
294 TypeSystemClang::BuildIndirectFields(m_derived_ct); in complete()
295 TypeSystemClang::CompleteTagDeclarationDefinition(m_derived_ct); in complete()
H A DPdbAstBuilder.h54 PdbAstBuilder(ObjectFile &obj, PdbIndex &index, TypeSystemClang &clang);
83 TypeSystemClang &clang() { return m_clang; } in clang()
132 TypeSystemClang &m_clang;
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp60 DWARFASTParserClang::DWARFASTParserClang(TypeSystemClang &ast) in DWARFASTParserClang()
236 TypeSystemClang::CompleteTagDeclarationDefinition(type); in ForcefullyCompleteType()
249 if (!TypeSystemClang::IsCXXClassType(type)) in RequireCompleteType()
1694 TypeSystemClang::GetAsRecordDecl(clang_type); in ParseStructureLikeDIE()
1802 return TypeSystemClang::AddObjCClassProperty( in Finalize()
2026 TypeSystemClang::BuildIndirectFields(clang_type); in CompleteRecordType()
2507 TypeSystemClang::AddVariableToRecordType( in ParseSingleMember()
2623 TypeSystemClang::AddFieldToRecordType( in ParseSingleMember()
2744 TypeSystemClang *ast = in ParseChildMembers()
3165 TypeSystemClang::DeclContextGetAsDeclContext( in GetClangDeclForDIE()
[all …]
H A DDWARFASTParserClang.h39 DWARFASTParserClang(lldb_private::TypeSystemClang &ast);
88 lldb_private::TypeSystemClang &m_ast;
104 lldb_private::TypeSystemClang::TemplateParameterInfos
108 lldb_private::TypeSystemClang::TemplateParameterInfos
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DBlockPointer.cpp52 TypeSystemClang *clang_ast_context = in BlockPointerSyntheticFrontEnd()
53 llvm::cast<TypeSystemClang>(block_pointer_type.GetTypeSystem()); in BlockPointerSyntheticFrontEnd()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp120 if (TypeSystemClang::IsCXXClassType( in GetTypeInfoFromVTableAddress()
152 if (TypeSystemClang::IsCXXClassType( in GetTypeInfoFromVTableAddress()
240 if (TypeSystemClang::AreTypesSame(in_value.GetCompilerType(), type)) { in GetDynamicTypeAndAddress()
538 TypeSystemClang *clang_ast_context = in GetExceptionObjectForThread()

12