[llvm] r195060 - DwarfDebug: Move trailing else to the same line as prior closing brace

David Blaikie dblaikie at gmail.com
Mon Nov 18 15:59:04 PST 2013


Author: dblaikie
Date: Mon Nov 18 17:59:04 2013
New Revision: 195060

URL: http://llvm.org/viewvc/llvm-project?rev=195060&view=rev
Log:
DwarfDebug: Move trailing else to the same line as prior closing brace

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=195060&r1=195059&r2=195060&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Nov 18 17:59:04 2013
@@ -620,11 +620,9 @@ DIE *DwarfDebug::constructScopeDIE(Compi
       // 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;





More information about the llvm-commits mailing list