commit | 250f4e8ec22175dcc121e81c9b270065e7b94677 | [log] [tgz] |
---|---|---|
author | Manman Ren <manman.ren@gmail.com> | Wed Oct 23 22:12:26 2013 +0000 |
committer | Manman Ren <manman.ren@gmail.com> | Wed Oct 23 22:12:26 2013 +0000 |
tree | 0062e5e0b924e845845035622de85e817a5d644f | |
parent | 615f561407c83e29356f34c057279e87d903c9f1 [diff] |
Remove {} from one-line block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193276 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 290d80c..d8ef123 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -1369,9 +1369,8 @@ DISubprogram SPDecl = SP.getFunctionDeclaration(); DIE *DeclDie = NULL; - if (SPDecl.isSubprogram()) { + if (SPDecl.isSubprogram()) DeclDie = getOrCreateSubprogramDIE(SPDecl); - } // Add function template parameters. addTemplateParams(*SPDie, SP.getTemplateParams());