Skip to content

Commit 8563911

Browse files
committed
[Constraint system] Use llvm::any_of instead of std::any_of.
1 parent c960926 commit 8563911

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Sema/ConstraintGraph.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,7 @@ bool ConstraintGraph::contractEdges() {
702702
if (isParamBindingConstraint) {
703703
auto *node = tyvar1->getImpl().getGraphNode();
704704
auto constraints = node->getConstraints();
705-
if (std::any_of(constraints.begin(), constraints.end(),
706-
[](Constraint *constraint) {
705+
if (llvm::any_of(constraints, [](Constraint *constraint) {
707706
return isStrictInoutSubtypeConstraint(constraint);
708707
})) {
709708
continue;

0 commit comments

Comments
 (0)