From: Dmitri Gribenko Date: Tue, 14 Feb 2012 22:17:14 +0000 (+0000) Subject: Silence the new -Wempty-body warning. It appeared because the next statement X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c50b4339891ba282a36803636b2b5d932c490e19;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/MachineDominators.h b/include/llvm/CodeGen/MachineDominators.h index ab944a2335f..82a4ac821b6 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.