projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DwarfDebug: Move trailing else to the same line as prior closing brace
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DwarfDebug.cpp
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index b8af9f74a8302cc86c856269f6747916c23929cc..24e2c0539843a5f3cdcd2db8ac70cc3cf9847c7f 100644
(file)
--- 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));
// Note down abstract DIE.
if (ScopeDIE)
AbstractSPDies.insert(std::make_pair(DS, ScopeDIE));
- }
- else
+ } else
ScopeDIE = updateSubprogramScopeDIE(TheCU, DISubprogram(DS));
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;
// Early exit when we know the scope DIE is going to be null.
if (isLexicalScopeDIENull(Scope))
return NULL;