]> granicus.if.org Git - clang/commitdiff
CodeGen: Remove some unnecessary braces
authorJustin Bogner <mail@justinbogner.com>
Mon, 13 Jan 2014 21:24:13 +0000 (21:24 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 13 Jan 2014 21:24:13 +0000 (21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199136 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGStmt.cpp

index 83b5fa9228a07bee2bfd28580b3f72ca71be0041..cbdd2fb6f3d78d55ada2e8d4548d3f62140694ed 100644 (file)
@@ -637,10 +637,9 @@ void CodeGenFunction::EmitDoStmt(const DoStmt &S) {
   uint64_t ExitCount = Cnt.getLoopExitCount();
 
   // As long as the condition is true, iterate the loop.
-  if (EmitBoolCondBranch) {
+  if (EmitBoolCondBranch)
     Builder.CreateCondBr(BoolCondVal, LoopBody, LoopExit.getBlock(),
                          PGO.createBranchWeights(LoopCount, ExitCount));
-  }
 
   // Emit the exit block.
   EmitBlock(LoopExit.getBlock());