mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Formatting and 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -102,8 +102,7 @@ int64_t CompileUnit::getDefaultLowerBound() const {
|
||||
static bool isShareableAcrossCUs(DIDescriptor D) {
|
||||
// When the MDNode can be part of the type system, the DIE can be
|
||||
// shared across CUs.
|
||||
return D.isType() ||
|
||||
(D.isSubprogram() && !DISubprogram(D).isDefinition());
|
||||
return D.isType() || (D.isSubprogram() && !DISubprogram(D).isDefinition());
|
||||
}
|
||||
|
||||
/// getDIE - Returns the debug information entry map slot for the
|
||||
@ -1712,7 +1711,8 @@ void CompileUnit::constructEnumTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
StringRef Name = Enum.getName();
|
||||
addString(Enumerator, dwarf::DW_AT_name, Name);
|
||||
int64_t Value = Enum.getEnumValue();
|
||||
addSInt(Enumerator, dwarf::DW_AT_const_value, dwarf::DW_FORM_sdata, Value);
|
||||
addSInt(Enumerator, dwarf::DW_AT_const_value, dwarf::DW_FORM_sdata,
|
||||
Value);
|
||||
}
|
||||
}
|
||||
DIType DTy = resolve(CTy.getTypeDerivedFrom());
|
||||
|
Reference in New Issue
Block a user