Remove {} from one-line block.
authorManman Ren <manman.ren@gmail.com>
Wed, 23 Oct 2013 22:12:26 +0000 (22:12 +0000)
committerManman Ren <manman.ren@gmail.com>
Wed, 23 Oct 2013 22:12:26 +0000 (22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193276 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp

index 290d80ceffddbff638f3628710050aaa5d67c653..d8ef1232f2c18bcd82ceea51d24ddad9581129a4 100644 (file)
@@ -1369,9 +1369,8 @@ DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) {
 
   DISubprogram SPDecl = SP.getFunctionDeclaration();
   DIE *DeclDie = NULL;
-  if (SPDecl.isSubprogram()) {
+  if (SPDecl.isSubprogram())
     DeclDie = getOrCreateSubprogramDIE(SPDecl);
-  }
 
   // Add function template parameters.
   addTemplateParams(*SPDie, SP.getTemplateParams());