Home
last modified time | relevance | path

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

123

/freebsd/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.cpp33 m_scratch_ast_ctx_sp = std::make_shared<TypeSystemClang>( in AppleObjCTypeEncodingParser()
74 AppleObjCTypeEncodingParser::ReadStructElement(TypeSystemClang &ast_ctx, in ReadStructElement()
91 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct()
97 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion()
103 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate()
141 TypeSystemClang::StartTagDeclarationDefinition(union_type); in BuildAggregate()
150 TypeSystemClang::AddFieldToRecordType( in BuildAggregate()
155 TypeSystemClang::CompleteTagDeclarationDefinition(union_type); in BuildAggregate()
161 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray()
180 TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType()
[all …]
H A DAppleObjCDeclVendor.h40 std::shared_ptr<TypeSystemClang> m_ast_ctx;
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp95 LLDB_PLUGIN_DEFINE(TypeSystemClang)
318 typedef lldb_private::ThreadSafeDenseMap<clang::ASTContext *, TypeSystemClang *>
364 char TypeSystemClang::ID;
366 bool TypeSystemClang::IsOperator(llvm::StringRef name, in IsOperator()
448 TypeSystemClang::ConvertAccessTypeToAccessSpecifier(AccessType access) { in ConvertAccessTypeToAccessSpecifier()
497 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang
509 TypeSystemClang::TypeSystemClang(llvm::StringRef name, in TypeSystemClang() function in TypeSystemClang
521 TypeSystemClang::~TypeSystemClang() { Finalize(); } in ~TypeSystemClang()
523 lldb::TypeSystemSP TypeSystemClang::CreateInstance(lldb::LanguageType language, in CreateInstance()
555 return std::make_shared<TypeSystemClang>(ast_name, triple); in CreateInstance()
[all …]
H A DTypeSystemClang.h111 class TypeSystemClang : public TypeSystem {
131 explicit TypeSystemClang(llvm::StringRef name, llvm::Triple triple);
138 explicit TypeSystemClang(llvm::StringRef name,
141 ~TypeSystemClang() override;
160 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx);
184 return TypeSystemClang::GetCompleteDecl(&getASTContext(), decl); in GetCompleteDecl()
1122 const TypeSystemClang::TemplateParameterInfos &template_param_infos);
1250 TypeSystemClang(const TypeSystemClang &);
1251 const TypeSystemClang &operator=(const TypeSystemClang &);
1259 class ScratchTypeSystemClang : public TypeSystemClang {
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp100 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 DPdbAstBuilder.h56 PdbAstBuilder(TypeSystemClang &clang);
87 TypeSystemClang &clang() { return m_clang; } in clang()
139 TypeSystemClang &m_clang;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp106 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 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()
564 TypeSystemClang *clang_type_system = in ResolveTypeUID()
565 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in ResolveTypeUID()
600 TypeSystemClang *clang_ast_ctx = in CompleteType()
601 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in CompleteType()
622 TypeSystemClang *clang_ast_ctx = in GetDeclForUID()
623 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in GetDeclForUID()
653 TypeSystemClang *clang_ast_ctx = in GetDeclContextForUID()
654 llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()); in GetDeclContextForUID()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.h33 ClangExternalASTSourceCallbacks(TypeSystemClang &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks()
57 TypeSystemClang &GetTypeSystem() const { return m_ast; } in GetTypeSystem()
68 TypeSystemClang &m_ast;
H A DNameSearchContext.cpp22 auto lldb_ast = type.GetTypeSystem<TypeSystemClang>(); in AddVarDecl()
48 auto lldb_ast = type.GetTypeSystem<TypeSystemClang>(); in AddFunDecl()
120 TypeSystemClang::IsOperator(decl_name.getAsString().c_str(), op_kind)) { in AddFunDecl()
121 if (!TypeSystemClang::CheckOverloadedOperatorKindParameterCount( in AddFunDecl()
H A DClangASTImporter.cpp36 CompilerType ClangASTImporter::CopyType(TypeSystemClang &dst_ast, in CopyType()
40 auto src_ast = src_type.GetTypeSystem<TypeSystemClang>(); in CopyType()
263 TypeSystemClang::GetCompleteDecl(m_src_ctx, original_decl); in ~CompleteTagDeclsScope()
306 CompilerType ClangASTImporter::DeportType(TypeSystemClang &dst, in DeportType()
310 auto src_ctxt = src_type.GetTypeSystem<TypeSystemClang>(); in DeportType()
513 TypeSystemClang::CompleteTagDeclarationDefinition(compiler_type); in CompleteType()
517 TypeSystemClang::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteType()
642 TypeSystemClang::GetASTContext(&dest_ctx)->getDisplayName(), record, in importRecordLayoutFromOrigin()
655 TypeSystemClang::GetCompleteDecl( in importRecordLayoutFromOrigin()
801 if (!TypeSystemClang::GetCompleteDecl(decl_origin.ctx, decl_origin.decl)) in CompleteTagDecl()
[all …]
H A DNameSearchContext.h28 TypeSystemClang &m_clang_ts;
62 NameSearchContext(TypeSystemClang &clang_ts, in NameSearchContext()
H A DClangExpressionParser.h34 class TypeSystemClang; variable
158 std::shared_ptr<TypeSystemClang> m_ast_context;
H A DClangUtil.cpp22 if (!ct.GetTypeSystem<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.h658 TypeFromUser DeportType(TypeSystemClang &target, TypeSystemClang &source,
661 TypeSystemClang *GetTypeSystemClang();
H A DClangASTSource.h64 void InstallASTContext(TypeSystemClang &ast_context);
356 TypeSystemClang *GetTypeSystem() const { return m_clang_ast_context; } in GetTypeSystem()
391 TypeSystemClang *m_clang_ast_context;
H A DClangExpressionDeclMap.cpp205 TypeFromUser ClangExpressionDeclMap::DeportType(TypeSystemClang &target, in DeportType()
206 TypeSystemClang &source, in DeportType()
222 auto ast = parser_type.GetTypeSystem<TypeSystemClang>(); in AddPersistentVariable()
644 TypeSystemClang *ClangExpressionDeclMap::GetTypeSystemClang() { in GetTypeSystemClang()
658 return llvm::dyn_cast_or_null<TypeSystemClang>( in GetTypeSystemClang()
815 TypeSystemClang::DeclContextGetAsCXXMethodDecl(function_decl_ctx); in LookUpLldbClass()
920 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in LookUpLldbObjCClass()
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()
[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, in ScanContext()
292 if (TypeSystemClang::IsObjCClassType(self_clang_type)) { in ScanContext()
294 } else if (TypeSystemClang::IsObjCObjectPointerType( in ScanContext()
H A DClangASTSource.cpp62 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()
746 TypeSystemClang::GetCompleteDecl(original_ctx, original_interface_decl); in FindObjCMethodDeclsWithOrigin()
1013 TypeSystemClang::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in FindObjCMethodDecls()
1444 TypeSystemClang::DeclContextGetTypeSystemClang(namespace_decl); in AddNamespace()
1448 TypeSystemClang::DeclContextGetAsNamespaceDecl(namespace_decl); in AddNamespace()
1480 auto src_ast = src_type.GetTypeSystem<TypeSystemClang>(); in GuardedCopyType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp71 DWARFASTParserClang::DWARFASTParserClang(TypeSystemClang &ast) in DWARFASTParserClang()
321 clang::TagDecl *tag_decl = TypeSystemClang::GetAsTagDecl(type); in ParseTypeFromClangModule()
337 static void PrepareContextToReceiveMembers(TypeSystemClang &ast, in PrepareContextToReceiveMembers()
1034 TypeSystemClang::GetDeclContextForType(clang_type); in ParseEnum()
1107 if (!TypeSystemClang::IsObjCObjectOrInterfaceType(type_clang_forward_type)) in ParseObjCMethod()
1208 if (!TypeSystemClang::IsCXXClassType(class_opaque_type)) in ParseCXXMethod()
1213 TypeSystemClang::GetDeclContextForType(class_opaque_type), die, in ParseCXXMethod()
1391 TypeSystemClang::TemplateParameterInfos template_param_infos; in ParseSubroutine()
1479 TypeSystemClang::RequireCompleteType(array_element_type); in ParseArrayType()
1525 CompilerType clang_type = TypeSystemClang::CreateMemberPointerType( in ParsePointerToMemberType()
[all …]
H A DDWARFASTParserClang.h46 DWARFASTParserClang(lldb_private::TypeSystemClang &ast);
150 lldb_private::TypeSystemClang &m_ast;
180 lldb_private::TypeSystemClang::TemplateParameterInfos
185 lldb_private::TypeSystemClang::TemplateParameterInfos
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.h34 class TypeSystemClang; variable
164 virtual CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name,
169 std::shared_ptr<TypeSystemClang> m_scratch_ast_ctx_sp;

123