summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-05-22 18:45:18 +0000
committerEric Christopher <echristo@apple.com>2012-05-22 18:45:18 +0000
commit775cbd2b47e44ccd81d7b9aaf9a15d5172cb85dc (patch)
tree11e18e60935354c35fe19cdd9a5f51ab926dcfa1
parent377c63da9ea0a3bea22dd875e5013053314a7356 (diff)
downloadbcm5719-llvm-775cbd2b47e44ccd81d7b9aaf9a15d5172cb85dc.tar.gz
bcm5719-llvm-775cbd2b47e44ccd81d7b9aaf9a15d5172cb85dc.zip
Formatting consistency.
llvm-svn: 157273
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index 7e6a8eaa31e..63aa021d5b7 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -926,9 +926,10 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
if (!Name.empty())
addString(&Buffer, dwarf::DW_AT_name, Name);
- if (Tag == dwarf::DW_TAG_enumeration_type || Tag == dwarf::DW_TAG_class_type
- || Tag == dwarf::DW_TAG_structure_type || Tag == dwarf::DW_TAG_union_type)
- {
+ if (Tag == dwarf::DW_TAG_enumeration_type ||
+ Tag == dwarf::DW_TAG_class_type ||
+ Tag == dwarf::DW_TAG_structure_type ||
+ Tag == dwarf::DW_TAG_union_type) {
// Add size if non-zero (derived types might be zero-sized.)
if (Size)
addUInt(&Buffer, dwarf::DW_AT_byte_size, 0, Size);
OpenPOWER on IntegriCloud