From: David Blaikie Date: Mon, 18 Nov 2013 23:59:04 +0000 (+0000) Subject: DwarfDebug: Move trailing else to the same line as prior closing brace X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8da7540802d67336892deeac3385442e0400333c;p=oota-llvm.git DwarfDebug: Move trailing else to the same line as prior closing brace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195060 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index b8af9f74a83..24e2c053984 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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;