summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineDominators.h
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
commitc50b4339891ba282a36803636b2b5d932c490e19 (patch)
tree42ece008eae9e60dfe07efede52b274d704f7089 /include/llvm/CodeGen/MachineDominators.h
parent010ad7d353372be52e3ed09a42b915c363081f3f (diff)
downloadllvm-c50b4339891ba282a36803636b2b5d932c490e19.tar.gz
llvm-c50b4339891ba282a36803636b2b5d932c490e19.tar.bz2
llvm-c50b4339891ba282a36803636b2b5d932c490e19.tar.xz
Silence the new -Wempty-body warning. It appeared because the next statement
after the `for(...) ;' has more indentation than for itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineDominators.h')
-rw-r--r--include/llvm/CodeGen/MachineDominators.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineDominators.h b/include/llvm/CodeGen/MachineDominators.h
index ab944a2335..82a4ac821b 100644
--- a/include/llvm/CodeGen/MachineDominators.h
+++ b/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.