Use any_of (NFC)
GitOrigin-RevId: 70257fab68e8081f5a4f182ea580f284b593aa6f
diff --git a/lib/Analysis/ScopBuilder.cpp b/lib/Analysis/ScopBuilder.cpp
index 9bfd871..ab8e5ad 100644
--- a/lib/Analysis/ScopBuilder.cpp
+++ b/lib/Analysis/ScopBuilder.cpp
@@ -697,8 +697,7 @@
// If the predecessor is in a region we used for propagation we can skip it.
auto PredBBInRegion = [PredBB](Region *PR) { return PR->contains(PredBB); };
- if (std::any_of(PropagatedRegions.begin(), PropagatedRegions.end(),
- PredBBInRegion)) {
+ if (llvm::any_of(PropagatedRegions, PredBBInRegion)) {
continue;
}