Skip to content

Commit

Permalink
core: Remove use of CI unsupported views::all.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Jan 9, 2025
1 parent cac5706 commit 4472a25
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/vast/Dialect/Core/SymbolTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ namespace vast::core {
return vws::single(root);
}

auto direct_regions(operation root) {
return vws::all(root->getRegions()) | addresses;
auto direct_regions(operation root) -> gap::generator< region_ptr > {
for (auto &region : root->getRegions()) {
co_yield &region;
}
}

using symbol_use = mlir::SymbolTable::SymbolUse;
Expand Down

0 comments on commit 4472a25

Please sign in to comment.