diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-11-18 23:59:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-11-18 23:59:04 +0000 |
commit | 8da7540802d67336892deeac3385442e0400333c (patch) | |
tree | 86e3e3e54f79fa4fad473eb26a36823cb4ae293c /lib/CodeGen | |
parent | d6dffb40cb05909dd6289e6dc37c25359ab14b52 (diff) | |
download | llvm-8da7540802d67336892deeac3385442e0400333c.tar.gz llvm-8da7540802d67336892deeac3385442e0400333c.tar.bz2 llvm-8da7540802d67336892deeac3385442e0400333c.tar.xz |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index b8af9f74a8..24e2c05398 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; |