summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-11-19 09:28:34 +0000
committerEric Christopher <echristo@gmail.com>2013-11-19 09:28:34 +0000
commita07e4f5b0f330c099320a5f5807c1b7331bb972a (patch)
tree97d7aa0668b2e069f6f90cc97d7790064c7d9217 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent65132a8c2c027faefb5b9900174fc0315d9ff985 (diff)
downloadbcm5719-llvm-a07e4f5b0f330c099320a5f5807c1b7331bb972a.tar.gz
bcm5719-llvm-a07e4f5b0f330c099320a5f5807c1b7331bb972a.zip
Formatting and 80-col.
llvm-svn: 195122
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index a6ff9538091..25b9c1da1c4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -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());
OpenPOWER on IntegriCloud