diff options
author | Eric Christopher <echristo@gmail.com> | 2013-11-19 09:28:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-11-19 09:28:34 +0000 |
commit | a07e4f5b0f330c099320a5f5807c1b7331bb972a (patch) | |
tree | 97d7aa0668b2e069f6f90cc97d7790064c7d9217 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | 65132a8c2c027faefb5b9900174fc0315d9ff985 (diff) | |
download | bcm5719-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.cpp | 6 |
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()); |