[PATCH] D141059: [IRParser] Pass a const Module& reference to the DataLayout callback

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 05:41:47 PST 2023


mehdi_amini added a comment.

In general I'm in favor of narrow API: that is pass what you need and not more. That makes it for cleaner API contracts which are easier to understand and/or maintain.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141059/new/

https://reviews.llvm.org/D141059



More information about the llvm-commits mailing list