Insert space to avoid warning and make code more readable.
authorMike Stump <mrs@apple.com>
Sat, 7 Feb 2009 03:36:02 +0000 (03:36 +0000)
committerMike Stump <mrs@apple.com>
Sat, 7 Feb 2009 03:36:02 +0000 (03:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64003 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/CondPropagate.cpp

index 9c753df79e6662b7dd26ddecc275d4c50324c6e9..7d5e581b22ebf20958c7ab0e936bbcfa843d0e79 100644 (file)
@@ -153,7 +153,7 @@ void CondProp::SimplifyPredecessors(BranchInst *BI) {
     return;
   BasicBlock::iterator BBI = BB->begin();
   BasicBlock::iterator BBE = BB->end();
-  while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI));
+  while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) ;
   if (&*BBI != BI)
     return;
 
@@ -192,7 +192,7 @@ void CondProp::SimplifyPredecessors(SwitchInst *SI) {
     return;
   BasicBlock::iterator BBI = BB->begin();
   BasicBlock::iterator BBE = BB->end();
-  while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI));
+  while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) ;
   if (&*BBI != SI)
     return;