aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-07 03:36:02 +0000
committerMike Stump <mrs@apple.com>2009-02-07 03:36:02 +0000
commit58210f395b3928b94696d7c9515c8af1cf74373a (patch)
treecba41d66e7f518b3b46cf38762556ac2f18a9add /lib
parentdca9a845bb60891c114609d1952ecae1bd6483b1 (diff)
downloadexternal_llvm-58210f395b3928b94696d7c9515c8af1cf74373a.zip
external_llvm-58210f395b3928b94696d7c9515c8af1cf74373a.tar.gz
external_llvm-58210f395b3928b94696d7c9515c8af1cf74373a.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/CondPropagate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/CondPropagate.cpp b/lib/Transforms/Scalar/CondPropagate.cpp
index 9c753df..7d5e581 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<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;