Skip to content

Commit b27f1ee

Browse files
author
spupyrev
committed
extra braces
1 parent 78028ad commit b27f1ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Utils/CodeLayout.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ struct NodeT {
227227

228228
// Check if Other is a successor of the node.
229229
bool isSuccessor(const NodeT *Other) const;
230+
230231
// The total execution count of outgoing jumps.
231232
uint64_t outCount() const;
232233

@@ -449,10 +450,9 @@ struct ChainEdge {
449450
};
450451

451452
bool NodeT::isSuccessor(const NodeT *Other) const {
452-
for (JumpT *Jump : OutJumps) {
453+
for (JumpT *Jump : OutJumps)
453454
if (Jump->Target == Other)
454455
return true;
455-
}
456456
return false;
457457
}
458458

0 commit comments

Comments
 (0)