@@ -565,8 +565,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWARF(const SymbolContext &sc,
565565 while (!m_to_complete.empty ()) {
566566 TypeToComplete to_complete = m_to_complete.back ();
567567 m_to_complete.pop_back ();
568- CompleteRecordType (to_complete.die , to_complete.type .get (),
569- to_complete.clang_type );
568+ CompleteRecordType (to_complete.die , to_complete.clang_type );
570569 }
571570 }
572571
@@ -2226,7 +2225,6 @@ bool DWARFASTParserClang::ParseTemplateParameterInfos(
22262225}
22272226
22282227bool DWARFASTParserClang::CompleteRecordType (const DWARFDIE &die,
2229- lldb_private::Type *type,
22302228 CompilerType &clang_type) {
22312229 if (TypeSystemClang::UseRedeclCompletion ())
22322230 if (!m_currently_parsed_record_dies.insert (die.GetDIE ()).second )
@@ -2409,7 +2407,7 @@ bool DWARFASTParserClang::CompleteTypeFromDWARF(const DWARFDIE &die,
24092407 case DW_TAG_structure_type:
24102408 case DW_TAG_union_type:
24112409 case DW_TAG_class_type:
2412- CompleteRecordType (die, type, clang_type);
2410+ CompleteRecordType (die, clang_type);
24132411 break ;
24142412 case DW_TAG_enumeration_type:
24152413 CompleteEnumType (die, type, clang_type);
0 commit comments