diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp index 37c1132c1c9f9..7c57484f56a7d 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -2066,7 +2066,6 @@ bool DWARFASTParserClang::ParseTemplateParameterInfos( } bool DWARFASTParserClang::CompleteRecordType(const DWARFDIE &die, - lldb_private::Type *type, const CompilerType &clang_type) { const dw_tag_t tag = die.Tag(); SymbolFileDWARF *dwarf = die.GetDWARF(); @@ -2203,7 +2202,7 @@ bool DWARFASTParserClang::CompleteTypeFromDWARF( case DW_TAG_structure_type: case DW_TAG_union_type: case DW_TAG_class_type: - CompleteRecordType(die, type, clang_type); + CompleteRecordType(die, clang_type); break; case DW_TAG_enumeration_type: CompleteEnumType(die, type, clang_type); diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h index 6c3aac6d452e4..55f8e38d7486d 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h @@ -421,7 +421,6 @@ class DWARFASTParserClang : public lldb_private::plugin::dwarf::DWARFASTParser { const lldb_private::CompilerType &class_clang_type); bool CompleteRecordType(const lldb_private::plugin::dwarf::DWARFDIE &die, - lldb_private::Type *type, const lldb_private::CompilerType &clang_type); bool CompleteEnumType(const lldb_private::plugin::dwarf::DWARFDIE &die, lldb_private::Type *type,