mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
[lldb][NFC] Don't calculate member indices in DWARFASTParserClang::ParseChildMembers
We keep counting members and then don't do anything with the computed result.
This commit is contained in:
@@ -2465,7 +2465,6 @@ bool DWARFASTParserClang::ParseChildMembers(
|
||||
const uint64_t parent_bit_size =
|
||||
parent_byte_size == UINT64_MAX ? UINT64_MAX : parent_byte_size * 8;
|
||||
|
||||
uint32_t member_idx = 0;
|
||||
BitfieldInfo last_field_info;
|
||||
|
||||
ModuleSP module_sp = parent_die.GetDWARF()->GetObjectFile()->GetModule();
|
||||
@@ -2935,7 +2934,6 @@ bool DWARFASTParserClang::ParseChildMembers(
|
||||
}
|
||||
}
|
||||
}
|
||||
++member_idx;
|
||||
} break;
|
||||
|
||||
case DW_TAG_subprogram:
|
||||
|
||||
Reference in New Issue
Block a user