diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-02-14 22:17:14 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-02-14 22:17:14 +0000 |
commit | 33e5adea869ba85199c1236421b7181158cfe4e8 (patch) | |
tree | 7fa0c67d0dc4a683fc2877f6c9026936f74f316b | |
parent | 800ddf3dda7b21f652da3d9720374997697f17e6 (diff) | |
download | bcm5719-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.h | 3 |
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. |