Home
last modified time | relevance | path

Searched refs:ClangUtil (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtil.cpp17 bool ClangUtil::IsClangType(const CompilerType &ct) { in IsClangType()
31 clang::Decl *ClangUtil::GetDecl(const CompilerDecl &decl) { in GetDecl()
36 QualType ClangUtil::GetQualType(const CompilerType &ct) { in GetQualType()
44 QualType ClangUtil::GetCanonicalQualType(const CompilerType &ct) { in GetCanonicalQualType()
51 CompilerType ClangUtil::RemoveFastQualifiers(const CompilerType &ct) { in RemoveFastQualifiers()
60 clang::TagDecl *ClangUtil::GetAsTagDecl(const CompilerType &type) { in GetAsTagDecl()
61 clang::QualType qual_type = ClangUtil::GetCanonicalQualType(type); in GetAsTagDecl()
68 std::string ClangUtil::DumpDecl(const clang::Decl *d) { in DumpDecl()
81 std::string ClangUtil::ToString(const clang::Type *t) { in ToString()
85 std::string ClangUtil::ToString(const CompilerType &c) { in ToString()
[all …]
H A DNameSearchContext.cpp10 #include "ClangUtil.h"
32 SourceLocation(), ii, ClangUtil::GetQualType(type), nullptr, SC_Static); in AddVarDecl()
54 QualType qual_type(ClangUtil::GetQualType(type)); in AddFunDecl()
145 if (ClangUtil::IsClangType(clang_type)) { in AddTypeDecl()
146 QualType qual_type = ClangUtil::GetQualType(clang_type); in AddTypeDecl()
H A DClangASTSource.cpp215 if (!ClangUtil::IsClangType(clang_type)) in FindCompleteType()
219 ClangUtil::GetQualType(clang_type)->getAs<TagType>(); in FindCompleteType()
243 if (!ClangUtil::IsClangType(clang_type)) in FindCompleteType()
247 ClangUtil::GetQualType(clang_type)->getAs<TagType>(); in FindCompleteType()
272 LLDB_LOG(log, " CTD Before:\n{0}", ClangUtil::DumpDecl(tag_decl)); in CompleteType()
288 LLDB_LOG(log, " [CTD] After:\n{0}", ClangUtil::DumpDecl(tag_decl)); in CompleteType()
300 ClangUtil::DumpDecl(interface_decl)); in CompleteType()
323 LLDB_LOG(log, " [COID] {0}", ClangUtil::DumpDecl(interface_decl)); in CompleteType()
416 ClangUtil::DumpDecl(original.decl)); in FindExternalLexicalDecls()
452 std::string ast_dump = ClangUtil::DumpDecl(decl); in FindExternalLexicalDecls()
[all …]
H A DClangExpressionDeclMap.cpp878 ClangUtil::GetQualType(pointee_type).getAsString()); in LookUpLldbClass()
938 ClangUtil::ToString(interface_type)); in LookUpLldbObjCClass()
978 ClangUtil::ToString(self_type->GetFullCompilerType())); in LookUpLldbObjCClass()
1635 context.m_decl_name, ClangUtil::DumpDecl(parser_vars->m_named_decl), in AddOneVariable()
1636 ClangUtil::ToString(user_type)); in AddOneVariable()
1664 context.m_decl_name, ClangUtil::DumpDecl(parser_vars->m_named_decl), in AddOneVariable()
1665 ClangUtil::ToString(ut)); in AddOneVariable()
1700 pvar_sp->GetName(), ClangUtil::DumpDecl(var_decl)); in AddOneVariable()
1752 ClangUtil::DumpDecl(var_decl)); in AddOneGenericVariable()
1791 context.m_decl_name.getAsString(), ClangUtil::DumpDecl(var_decl)); in AddOneRegister()
[all …]
H A DClangDeclVendor.cpp26 clang::Decl *d = ClangUtil::GetDecl(compiler_decl); in FindDecls()
H A DClangUtil.h24 struct ClangUtil { struct
H A DClangASTImporter.cpp46 clang::QualType src_qual_type = ClangUtil::GetQualType(src_type); in CopyType()
323 if (auto *t = ClangUtil::GetQualType(src_type)->getAs<TagType>()) in DeportType()
363 if (!ClangUtil::IsClangType(type)) in CanImport()
367 ClangUtil::GetCanonicalQualType(ClangUtil::RemoveFastQualifiers(type))); in CanImport()
437 if (!ClangUtil::IsClangType(type)) in Import()
441 ClangUtil::GetCanonicalQualType(ClangUtil::RemoveFastQualifiers(type))); in Import()
H A DIRForTarget.cpp1052 lldb_private::ClangUtil::GetQualType(compiler_type).getAsString(), in MaybeHandleVariable()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp81 LLDB_LOG(log, " AOEAS::CT Before:\n{1}", ClangUtil::DumpDecl(tag_decl)); in CompleteType()
83 LLDB_LOG(log, " AOEAS::CT After:{1}", ClangUtil::DumpDecl(tag_decl)); in CompleteType()
100 LLDB_LOG(log, " [CT] {0}", ClangUtil::DumpDecl(interface_decl)); in CompleteType()
107 LLDB_LOG(log, " [CT] {0}", ClangUtil::DumpDecl(interface_decl)); in CompleteType()
348 ClangUtil::GetQualType(type_realizer_sp->RealizeType( in BuildMethod()
365 ClangUtil::GetQualType(type_realizer_sp->RealizeType( in BuildMethod()
493 ClangUtil::GetQualType(ivar_type), in FinishDecl()
519 LLDB_LOG(log, " [AOTV::FD] {0}", ClangUtil::DumpDecl(interface_decl)); in FinishDecl()
H A DAppleObjCTypeEncodingParser.cpp150 return ClangUtil::GetQualType(union_type); in BuildAggregate()
164 return ClangUtil::GetQualType(array_type); in BuildArray()
249 return ClangUtil::GetQualType(types.front().GetPointerType()); in BuildObjCObjectPointerType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp917 ast.getComplexType(ClangUtil::GetQualType(complex_int_clang_type))); in GetBuiltinTypeForDWARFEncodingAndBitSize()
938 ast.getComplexType(ClangUtil::GetQualType(complex_float_clang_type))); in GetBuiltinTypeForDWARFEncodingAndBitSize()
1123 QualType type1_qual = ClangUtil::GetQualType(type1); in AreTypesSame()
1124 QualType type2_qual = ClangUtil::GetQualType(type2); in AreTypesSame()
2086 clang::QualType method_qual_type(ClangUtil::GetQualType(function_clang_type)); in GetDeclarationName()
2149 func_decl->setType(ClangUtil::GetQualType(function_clang_type)); in CreateFunctionDeclaration()
2168 if (!result_type || !ClangUtil::IsClangType(result_type)) in CreateFunctionType()
2180 const bool is_clang_type = ClangUtil::IsClangType(args[i]); in CreateFunctionType()
2183 qual_type_args.push_back(ClangUtil::GetQualType(args[i])); in CreateFunctionType()
2199 ClangUtil::GetQualType(result_type), qual_type_args, proto_info)); in CreateFunctionType()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp219 GetClangASTImporter().RequireCompleteType(ClangUtil::GetQualType(type)); in ParseTypeFromClangModule()
262 auto qual_type = ClangUtil::GetQualType(type); in PrepareContextToReceiveMembers()
1426 const clang::Type *type = ClangUtil::GetQualType(clang_type).getTypePtr(); in ParseArrayType()
1690 ClangUtil::RemoveFastQualifiers(clang_type); in ParseStructureLikeDIE()
1854 ClangUtil::RemoveFastQualifiers(clang_type).GetOpaqueQualType(), in ParseStructureLikeDIE()
2033 ClangUtil::GetQualType(clang_type), in ParseTemplateDIE()
2037 name, clang::TemplateArgument(ClangUtil::GetQualType(clang_type), in ParseTemplateDIE()
2230 m_ast.SetDeclIsForcefullyCompleted(ClangUtil::GetAsTagDecl(clang_type)); in CompleteTypeFromDWARF()
2739 clang::QualType qt = ClangUtil::GetQualType(int_type); in ExtractIntFromFormValue()
3297 ClangUtil::GetQualType(type->GetForwardCompilerType())); in GetClangDeclForDIE()
H A DSymbolFileDWARF.cpp1605 ClangUtil::RemoveFastQualifiers(compiler_type); in HasForwardDeclForCompilerType()
1633 ClangUtil::RemoveFastQualifiers(compiler_type); in CompleteType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp932 ClangUtil::GetQualType(type->GetLayoutCompilerType())); in GetDeclForSymbol()
1189 ClangUtil::GetQualType(underlying_type)); in AddEnumValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DObjCLanguage.cpp13 #include "Plugins/ExpressionParser/Clang/ClangUtil.h"
882 if (canBeObjCDynamic && ClangUtil::IsClangType(compiler_type)) { in GetPossibleFormattersMatches()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp19 #include "Plugins/ExpressionParser/Clang/ClangUtil.h"
1444 return ClangUtil::GetDecl(decl); in FromCompilerDecl()
/freebsd/lib/clang/liblldb/
H A DMakefile382 SRCS+= Plugins/ExpressionParser/Clang/ClangUtil.cpp