summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-13 21:47:32 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-13 21:47:32 +0000
commiteaa7433c850c5c71ce9708cd3e62e1e65bb05db9 (patch)
tree75a69272156d0bf672310c893c01bad51ddbaac1 /llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
parent3eb2470eedab12a9e0a04c753ec360afac0a077c (diff)
downloadbcm5719-llvm-eaa7433c850c5c71ce9708cd3e62e1e65bb05db9.tar.gz
bcm5719-llvm-eaa7433c850c5c71ce9708cd3e62e1e65bb05db9.zip
Style & indentation tweaks.
llvm-svn: 139646
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugInfoEntry.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugInfoEntry.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
index aa2b89dcbd0..0b0a00cf4f1 100644
--- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
+++ b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
@@ -85,19 +85,16 @@ public:
// We know we are kept in a vector of contiguous entries, so we know
// our parent will be some index behind "this".
ParentIdx = this - parent;
- }
- else
+ } else
ParentIdx = 0;
}
void setSibling(DWARFDebugInfoEntryMinimal *sibling) {
- if (sibling)
- {
+ if (sibling) {
// We know we are kept in a vector of contiguous entries, so we know
// our sibling will be some index after "this".
SiblingIdx = sibling - this;
sibling->setParent(getParent());
- }
- else
+ } else
SiblingIdx = 0;
}
OpenPOWER on IntegriCloud