Skip to content

Commit

Permalink
conv:tc: Add get_context() method to mixins.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkorenc committed Nov 2, 2023
1 parent 1e998ba commit 8ac7319
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/vast/Conversion/TypeConverters/TypeConverter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ namespace vast::conv::tc

return { out };
}

mcontext_t &get_context() { return self().mctx; }
};

// TODO(lukas): `rewriter.convertRegionTypes` should do the job, but it does not.
Expand Down

0 comments on commit 8ac7319

Please sign in to comment.