projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
010ad7d
)
Silence the new -Wempty-body warning. It appeared because the next statement
author
Dmitri Gribenko
<gribozavr@gmail.com>
Tue, 14 Feb 2012 22:17:14 +0000
(22:17 +0000)
committer
Dmitri Gribenko
<gribozavr@gmail.com>
Tue, 14 Feb 2012 22:17:14 +0000
(22:17 +0000)
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
include/llvm/CodeGen/MachineDominators.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineDominators.h
b/include/llvm/CodeGen/MachineDominators.h
index ab944a2335f7618e5592199b309572b8ca8aa89f..82a4ac821b69fa44b59a13302f5cd5f017365b34 100644
(file)
--- 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.