mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
Cosmetic changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60771 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34283c8303
commit
f84802880c
@ -1585,7 +1585,6 @@ private:
|
||||
|
||||
if (DerivedTypeDesc *MemberDesc = dyn_cast<DerivedTypeDesc>(Element)){
|
||||
// Add field or base class.
|
||||
|
||||
unsigned Tag = MemberDesc->getTag();
|
||||
|
||||
// Extract the basic information.
|
||||
@ -1600,6 +1599,7 @@ private:
|
||||
// Add name if not "".
|
||||
if (!Name.empty())
|
||||
AddString(Member, DW_AT_name, DW_FORM_string, Name);
|
||||
|
||||
// Add location if available.
|
||||
AddSourceLine(Member, MemberDesc->getFile(), MemberDesc->getLine());
|
||||
|
||||
@ -1776,8 +1776,10 @@ private:
|
||||
|
||||
// Add size if non-zero (derived types don't have a size.)
|
||||
if (Size) AddUInt(&Buffer, DW_AT_byte_size, 0, Size);
|
||||
|
||||
// Add name if not anonymous or intermediate type.
|
||||
if (!Name.empty()) AddString(&Buffer, DW_AT_name, DW_FORM_string, Name);
|
||||
|
||||
// Add source line info if available.
|
||||
AddSourceLine(&Buffer, TyDesc->getFile(), TyDesc->getLine());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user