Skip to content

Commit

Permalink
treewide: Move ranges usings to common header.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Jan 15, 2025
1 parent 52e2ae9 commit c3f3c5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions include/vast/Util/Common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,7 @@ namespace vast {
using maybe_builder_callback_ref = std::optional< builder_callback_ref >;
using builder_callback = std::function< void(mlir_builder &, loc_t) >;

using value_range = mlir::ValueRange;
using type_range = mlir::TypeRange;

} // namespace vast
3 changes: 0 additions & 3 deletions lib/vast/Conversion/Parser/ToParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,6 @@ namespace vast::conv {
).getResult(0);
}

using value_range = mlir::ValueRange;
using type_range = mlir::TypeRange;

std::vector< mlir_value > convert_value_types(
value_range values, type_range types, auto &rewriter
) {
Expand Down

0 comments on commit c3f3c5a

Please sign in to comment.