File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2319,7 +2319,7 @@ class Scop {
2319
2319
// / ScopBuilder::buildAccessRelations. Therefore, if this
2320
2320
// / method is called before buildAccessRelations, false
2321
2321
// / must be passed.
2322
- void removeStmts (std::function <bool (ScopStmt &)> ShouldDelete,
2322
+ void removeStmts (function_ref <bool (ScopStmt &)> ShouldDelete,
2323
2323
bool AfterHoisting = true);
2324
2324
2325
2325
// / Get an isl string representing the context.
Original file line number Diff line number Diff line change @@ -1752,7 +1752,7 @@ void Scop::removeFromStmtMap(ScopStmt &Stmt) {
1752
1752
}
1753
1753
}
1754
1754
1755
- void Scop::removeStmts (std::function <bool (ScopStmt &)> ShouldDelete,
1755
+ void Scop::removeStmts (function_ref <bool (ScopStmt &)> ShouldDelete,
1756
1756
bool AfterHoisting) {
1757
1757
for (auto StmtIt = Stmts.begin (), StmtEnd = Stmts.end (); StmtIt != StmtEnd;) {
1758
1758
if (!ShouldDelete (*StmtIt)) {
You can’t perform that action at this time.
0 commit comments