summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-02-14 22:17:14 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-02-14 22:17:14 +0000
commit33e5adea869ba85199c1236421b7181158cfe4e8 (patch)
tree7fa0c67d0dc4a683fc2877f6c9026936f74f316b
parent800ddf3dda7b21f652da3d9720374997697f17e6 (diff)
downloadbcm5719-llvm-33e5adea869ba85199c1236421b7181158cfe4e8.tar.gz
bcm5719-llvm-33e5adea869ba85199c1236421b7181158cfe4e8.zip
Silence the new -Wempty-body warning. It appeared because the next statement
after the `for(...) ;' has more indentation than for itself. llvm-svn: 150516
-rw-r--r--llvm/include/llvm/CodeGen/MachineDominators.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineDominators.h b/llvm/include/llvm/CodeGen/MachineDominators.h
index ab944a2335f..82a4ac821b6 100644
--- a/llvm/include/llvm/CodeGen/MachineDominators.h
+++ b/llvm/include/llvm/CodeGen/MachineDominators.h
@@ -84,7 +84,8 @@ public:
// Loop through the basic block until we find A or B.
MachineBasicBlock::iterator I = BBA->begin();
- for (; &*I != A && &*I != B; ++I) /*empty*/;
+ for (; &*I != A && &*I != B; ++I)
+ /*empty*/ ;
//if(!DT.IsPostDominators) {
// A dominates B if it is found first in the basic block.
OpenPOWER on IntegriCloud