[lldb][NFC] Move a declaration in DWARFASTParserClang to its first use.

This commit is contained in:
Raphael Isemann 2021-10-27 17:42:57 +02:00
parent 40c2bdf6d1
commit 9d7006c4ae
1 changed files with 1 additions and 2 deletions

View File

@ -2717,7 +2717,6 @@ void DWARFASTParserClang::ParseSingleMember(
return;
}
clang::FieldDecl *field_decl = nullptr;
const uint64_t character_width = 8;
const uint64_t word_width = 32;
CompilerType member_clang_type = member_type->GetLayoutCompilerType();
@ -2887,7 +2886,7 @@ void DWARFASTParserClang::ParseSingleMember(
RequireCompleteType(member_clang_type);
field_decl = TypeSystemClang::AddFieldToRecordType(
clang::FieldDecl *field_decl = TypeSystemClang::AddFieldToRecordType(
class_clang_type, attrs.name, member_clang_type, attrs.accessibility,
attrs.bit_size);