From: Mike Stump Date: Sat, 7 Feb 2009 03:36:02 +0000 (+0000) Subject: Insert space to avoid warning and make code more readable. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f344d83d3956255382b43690a147e1ce26b9fcd8;p=oota-llvm.git Insert space to avoid warning and make code more readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64003 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/CondPropagate.cpp b/lib/Transforms/Scalar/CondPropagate.cpp index 9c753df79e6..7d5e581b22e 100644 --- a/lib/Transforms/Scalar/CondPropagate.cpp +++ b/lib/Transforms/Scalar/CondPropagate.cpp @@ -153,7 +153,7 @@ void CondProp::SimplifyPredecessors(BranchInst *BI) { return; BasicBlock::iterator BBI = BB->begin(); BasicBlock::iterator BBE = BB->end(); - while (BBI != BBE && isa(++BBI)); + while (BBI != BBE && isa(++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(++BBI)); + while (BBI != BBE && isa(++BBI)) ; if (&*BBI != SI) return;