Home
last modified time | relevance | path

Searched refs:ClangASTContext (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
HDAppleObjCTypeEncodingParser.h25 CompilerType RealizeType(ClangASTContext &ast_ctx, const char *name,
38 clang::QualType BuildType(ClangASTContext &clang_ast_ctx, StringLexer &type,
42 clang::QualType BuildStruct(ClangASTContext &ast_ctx, StringLexer &type,
45 clang::QualType BuildAggregate(ClangASTContext &clang_ast_ctx,
49 clang::QualType BuildUnion(ClangASTContext &ast_ctx, StringLexer &type,
52 clang::QualType BuildArray(ClangASTContext &ast_ctx, StringLexer &type,
57 StructElement ReadStructElement(ClangASTContext &ast_ctx, StringLexer &type,
60 clang::QualType BuildObjCObjectPointerType(ClangASTContext &clang_ast_ctx,
HDAppleObjCTypeEncodingParser.cpp26 m_scratch_ast_ctx_up.reset(new ClangASTContext(runtime.GetProcess() in AppleObjCTypeEncodingParser()
64 AppleObjCTypeEncodingParser::ReadStructElement(ClangASTContext &ast_ctx, in ReadStructElement()
79 ClangASTContext &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct()
85 ClangASTContext &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion()
91 ClangASTContext &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate()
128 ClangASTContext::StartTagDeclarationDefinition(union_type); in BuildAggregate()
137 ClangASTContext::AddFieldToRecordType( in BuildAggregate()
142 ClangASTContext::CompleteTagDeclarationDefinition(union_type); in BuildAggregate()
148 ClangASTContext &ast_ctx, StringLexer &type, bool for_expression) { in BuildArray()
166 ClangASTContext &clang_ast_ctx, StringLexer &type, bool for_expression) { in BuildObjCObjectPointerType()
[all …]
HDAppleObjCRuntime.cpp108 if (!ClangASTContext::IsObjCObjectPointerType(compiler_type)) { in GetObjectDescription()
114 ClangASTContext *ast_context = ClangASTContext::GetScratch(*target); in GetObjectDescription()
129 ClangASTContext *ast_context = ClangASTContext::GetScratch(*target); in GetObjectDescription()
502 ClangASTContext *clang_ast_context = in GetBacktraceThreadFromException()
503 ClangASTContext::GetScratch(*exception_sp->GetTargetSP()); in GetBacktraceThreadFromException()
HDAppleObjCTrampolineHandler.cpp524 ClangASTContext *clang_ast_context = in RefreshTrampolines()
525 ClangASTContext::GetScratch(process->GetTarget()); in RefreshTrampolines()
807 ClangASTContext *clang_ast_context = in SetupDispatchFunction()
808 ClangASTContext::GetScratch(thread.GetProcess()->GetTarget()); in SetupDispatchFunction()
904 ClangASTContext *clang_ast_context = ClangASTContext::GetScratch(*target_sp); in GetStepThroughDispatchPlan()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
HDClangASTContext.cpp305 typedef lldb_private::ThreadSafeDenseMap<clang::ASTContext *, ClangASTContext *>
317 char ClangASTContext::ID;
319 bool ClangASTContext::IsOperator(llvm::StringRef name, in IsOperator()
400 ClangASTContext::ConvertAccessTypeToAccessSpecifier(AccessType access) { in ConvertAccessTypeToAccessSpecifier()
504 ClangASTContext::ClangASTContext(llvm::Triple target_triple) { in ClangASTContext() function in ClangASTContext
512 ClangASTContext::ClangASTContext(ASTContext &existing_ctxt) { in ClangASTContext() function in ClangASTContext
520 ClangASTContext::~ClangASTContext() { Finalize(); } in ~ClangASTContext()
522 ConstString ClangASTContext::GetPluginNameStatic() { in GetPluginNameStatic()
526 ConstString ClangASTContext::GetPluginName() { in GetPluginName()
527 return ClangASTContext::GetPluginNameStatic(); in GetPluginName()
[all …]
HDClangASTImporter.cpp28 CompilerType ClangASTImporter::CopyType(ClangASTContext &dst_ast, in CopyType()
32 ClangASTContext *src_ast = in CopyType()
33 llvm::dyn_cast_or_null<ClangASTContext>(src_type.GetTypeSystem()); in CopyType()
251 ClangASTContext::GetCompleteDecl(m_src_ctx, original_decl); in ~CompleteTagDeclsScope()
293 CompilerType ClangASTImporter::DeportType(ClangASTContext &dst, in DeportType()
297 ClangASTContext *src_ctxt = in DeportType()
298 llvm::cast<ClangASTContext>(src_type.GetTypeSystem()); in DeportType()
506 ClangASTContext::CompleteTagDeclarationDefinition(compiler_type); in CompleteType()
510 ClangASTContext::SetHasExternalStorage(compiler_type.GetOpaqueQualType(), in CompleteType()
581 if (!ClangASTContext::GetCompleteDecl(decl_origin.ctx, decl_origin.decl)) in CompleteTagDecl()
[all …]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
HDPDBASTParser.cpp103 GetBuiltinTypeForPDBEncodingAndBitSize(ClangASTContext &clang_ast, in GetBuiltinTypeForPDBEncodingAndBitSize()
356 PDBASTParser::PDBASTParser(lldb_private::ClangASTContext &ast) : m_ast(ast) {} in PDBASTParser()
425 ClangASTContext::StartTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType()
431 ClangASTContext::CompleteTagDeclarationDefinition(clang_type); in CreateLLDBTypeFromPDBType()
433 ClangASTContext::SetHasExternalStorage(clang_type.GetOpaqueQualType(), in CreateLLDBTypeFromPDBType()
442 ClangASTContext::SetHasExternalStorage(clang_type.GetOpaqueQualType(), in CreateLLDBTypeFromPDBType()
502 auto enum_decl = ClangASTContext::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType()
515 if (ClangASTContext::StartTagDeclarationDefinition(ast_enum)) in CreateLLDBTypeFromPDBType()
516 ClangASTContext::CompleteTagDeclarationDefinition(ast_enum); in CreateLLDBTypeFromPDBType()
556 auto typedef_decl = ClangASTContext::GetAsTypedefDecl(ast_typedef); in CreateLLDBTypeFromPDBType()
[all …]
HDPDBASTParser.h26 class ClangASTContext; variable
45 PDBASTParser(lldb_private::ClangASTContext &ast);
106 lldb_private::ClangASTContext &m_ast;
HDSymbolFilePDB.cpp313 ClangASTContext *clang_type_system = in ParseCompileUnitFunctionForPDBFunc()
314 llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get()); in ParseCompileUnitFunctionForPDBFunc()
563 ClangASTContext *clang_type_system = in ResolveTypeUID()
564 llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get()); in ResolveTypeUID()
600 ClangASTContext *clang_ast_ctx = in CompleteType()
601 llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get()); in CompleteType()
622 ClangASTContext *clang_ast_ctx = in GetDeclForUID()
623 llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get()); in GetDeclForUID()
652 ClangASTContext *clang_ast_ctx = in GetDeclContextForUID()
653 llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get()); in GetDeclContextForUID()
[all …]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
HDClangExternalASTSourceCallbacks.h17 class ClangASTContext; variable
21 ClangExternalASTSourceCallbacks(ClangASTContext &ast) : m_ast(ast) {} in ClangExternalASTSourceCallbacks()
41 ClangASTContext &m_ast;
HDClangASTContext.h47 class ClangASTContext : public TypeSystem {
66 explicit ClangASTContext(llvm::Triple triple);
72 explicit ClangASTContext(clang::ASTContext &existing_ctxt);
74 ~ClangASTContext() override;
95 static ClangASTContext *GetASTContext(clang::ASTContext *ast_ctx);
97 static ClangASTContext *GetScratch(Target &target,
106 return llvm::dyn_cast<ClangASTContext>(&type_system_or_err.get());
126 return ClangASTContext::GetCompleteDecl(&getASTContext(), decl); in GetCompleteDecl()
898 const ClangASTContext::TemplateParameterInfos &template_param_infos);
971 ClangASTContext(const ClangASTContext &);
[all …]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
HDDWARFASTParserClang.cpp58 DWARFASTParserClang::DWARFASTParserClang(ClangASTContext &ast) in DWARFASTParserClang()
217 clang::TagDecl *tag_decl = ClangASTContext::GetAsTagDecl(type); in ParseTypeFromClangModule()
229 static void CompleteExternalTagDeclType(ClangASTContext &ast, in CompleteExternalTagDeclType()
251 if (ClangASTContext::StartTagDeclarationDefinition(type)) in CompleteExternalTagDeclType()
252 ClangASTContext::CompleteTagDeclarationDefinition(type); in CompleteExternalTagDeclType()
798 LinkDeclContextToDIE(ClangASTContext::GetDeclContextForType(clang_type), die); in ParseEnum()
805 if (ClangASTContext::StartTagDeclarationDefinition(clang_type)) { in ParseEnum()
812 ClangASTContext::CompleteTagDeclarationDefinition(clang_type); in ParseEnum()
922 if (ClangASTContext::IsObjCObjectOrInterfaceType( in ParseSubroutine()
1027 if (ClangASTContext::IsCXXClassType(class_opaque_type)) { in ParseSubroutine()
[all …]
HDDWARFASTParserClang.h39 DWARFASTParserClang(lldb_private::ClangASTContext &ast);
85 lldb_private::ClangASTContext &m_ast;
100 lldb_private::ClangASTContext::TemplateParameterInfos
104 lldb_private::ClangASTContext::TemplateParameterInfos
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
HDClangExpressionDeclMap.cpp112 if (!ClangASTContext::GetScratch(*target)) in WillParse()
177 TypeFromUser ClangExpressionDeclMap::DeportType(ClangASTContext &target, in DeportType()
178 ClangASTContext &source, in DeportType()
180 assert(&target == ClangASTContext::GetScratch(*m_target)); in DeportType()
199 ClangASTContext *ast = in AddPersistentVariable()
200 llvm::dyn_cast_or_null<ClangASTContext>(parser_type.GetTypeSystem()); in AddPersistentVariable()
212 auto *clang_ast_context = ClangASTContext::GetScratch(*target); in AddPersistentVariable()
251 ClangASTContext *context = ClangASTContext::GetScratch(*target); in AddPersistentVariable()
616 ClangASTContext *ClangExpressionDeclMap::GetClangASTContext() { in GetClangASTContext()
630 return llvm::dyn_cast_or_null<ClangASTContext>( in GetClangASTContext()
[all …]
HDClangASTSource.cpp59 void ClangASTSource::InstallASTContext(ClangASTContext &clang_ast_context) { in InstallASTContext()
77 ClangASTContext *scratch_clang_ast_context = in ~ClangASTSource()
78 ClangASTContext::GetScratch(*m_target, false); in ~ClangASTSource()
322 if (!ClangASTContext::DeclsAreEquivalent(tag_decl, candidate_tag_decl)) in CompleteType()
954 ClangASTContext::GetCompleteDecl(original_ctx, original_interface_decl); in FindObjCMethodDeclsWithOrigin()
1151 ClangASTContext::DeclContextGetAsObjCMethodDecl(function_decl_ctx); in FindObjCMethodDecls()
1583 ClangASTContext::GetCompleteDecl( in layoutRecordType()
1779 ClangASTContext::DeclContextGetClangASTContext(namespace_decl); in AddNamespace()
1783 ClangASTContext::DeclContextGetAsNamespaceDecl(namespace_decl); in AddNamespace()
1825 ClangASTContext *src_ast = in GuardedCopyType()
[all …]
HDClangPersistentVariables.h66 ClangASTContext *ctx);
88 ClangASTContext *m_context = nullptr;
HDClangExpressionDeclMap.h652 TypeFromUser DeportType(ClangASTContext &target, ClangASTContext &source,
655 ClangASTContext *GetClangASTContext();
HDClangUserExpression.cpp157 ClangASTContext::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext()
186 ClangASTContext::DeclContextGetAsObjCMethodDecl( in ScanContext()
219 ClangASTContext::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext()
227 ClangASTContext::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
295 if (ClangASTContext::IsObjCClassType(self_clang_type)) { in ScanContext()
297 } else if (ClangASTContext::IsObjCObjectPointerType( in ScanContext()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
HDUdtRecordCompleter.cpp131 ClangASTContext::AddVariableToRecordType( in visitKnownMember()
167 clang::FieldDecl *decl = ClangASTContext::AddFieldToRecordType( in visitKnownMember()
226 ClangASTContext &clang = m_ast_builder.clang(); in complete()
230 ClangASTContext::BuildIndirectFields(m_derived_ct); in complete()
231 ClangASTContext::CompleteTagDeclarationDefinition(m_derived_ct); in complete()
HDPdbAstBuilder.h54 PdbAstBuilder(ObjectFile &obj, PdbIndex &index, ClangASTContext &clang);
83 ClangASTContext &clang() { return m_clang; } in clang()
132 ClangASTContext &m_clang;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
HDItaniumABILanguageRuntime.cpp121 if (ClangASTContext::IsCXXClassType( in GetTypeInfoFromVTableAddress()
153 if (ClangASTContext::IsCXXClassType( in GetTypeInfoFromVTableAddress()
241 if (ClangASTContext::AreTypesSame(in_value.GetCompilerType(), type)) { in GetDynamicTypeAndAddress()
539 ClangASTContext *clang_ast_context = in GetExceptionObjectForThread()
540 ClangASTContext::GetScratch(m_process->GetTarget()); in GetExceptionObjectForThread()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
HDBlockPointer.cpp52 ClangASTContext *clang_ast_context = in BlockPointerSyntheticFrontEnd()
53 llvm::dyn_cast<ClangASTContext>(&type_system_or_err.get()); in BlockPointerSyntheticFrontEnd()
HDLibCxx.cpp244 ClangASTContext *ast_ctx = in Update()
245 llvm::dyn_cast_or_null<ClangASTContext>(pair_type.GetTypeSystem()); in Update()
575 ClangASTContext *ast_context = in LibcxxWStringSummaryProvider()
576 ClangASTContext::GetScratch(*valobj.GetTargetSP()); in LibcxxWStringSummaryProvider()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
HDNSError.cpp90 ClangASTContext::GetScratch(process_sp->GetTarget()) in NSError_SummaryProvider()
159 ClangASTContext::GetScratch(process_sp->GetTarget()) in Update()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
HDObjCLanguageRuntime.cpp130 if (ClangASTContext::IsObjCObjectOrInterfaceType( in LookupInCompleteClassCache()
390 if (ClangASTContext::IsObjCObjectPointerType(base_type, &class_type)) in GetRuntimeType()
392 else if (ClangASTContext::IsObjCObjectOrInterfaceType(base_type)) in GetRuntimeType()

123