Skip to content

Commit 072d673

Browse files
committed
Replace std::any_of with llvm::any_of
1 parent a51b184 commit 072d673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/Dialect/IR/CIRDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ LogicalResult cir::GetMemberOp::verify() {
15351535

15361536
OpFoldResult cir::VecCreateOp::fold(FoldAdaptor adaptor) {
15371537
auto elements = getElements();
1538-
if (std::any_of(elements.begin(), elements.end(), [](mlir::Value attr) {
1538+
if (llvm::any_of(elements, [](mlir::Value attr) {
15391539
return !mlir::isa<cir::ConstantOp>(attr.getDefiningOp());
15401540
}))
15411541
return {};

0 commit comments

Comments
 (0)