summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-11-18 23:59:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-11-18 23:59:04 +0000
commite26a3774c6667642dbb4240bc9bd77d34f4c9f47 (patch)
tree8e4d8b150d1812a4f8034df51bc8eb16825183b0
parent5af2aca274b7338ea7b16862f14c8fe9c29641d9 (diff)
downloadllvm-e26a3774c6667642dbb4240bc9bd77d34f4c9f47.tar.gz
DwarfDebug: Move trailing else to the same line as prior closing brace
llvm-svn: 195060
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index b8af9f74a830..24e2c0539843 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -620,11 +620,9 @@ DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
// Note down abstract DIE.
if (ScopeDIE)
AbstractSPDies.insert(std::make_pair(DS, ScopeDIE));
- }
- else
+ } else
ScopeDIE = updateSubprogramScopeDIE(TheCU, DISubprogram(DS));
- }
- else {
+ } else {
// Early exit when we know the scope DIE is going to be null.
if (isLexicalScopeDIENull(Scope))
return NULL;