[Mlir-commits] [mlir] [MLIR][Python] Remove partial LLVM APIs in python bindings (3/n) (PR #178984)

Jakub Kuderski llvmlistbot at llvm.org
Mon Feb 2 08:33:35 PST 2026


================
@@ -34,6 +35,26 @@ struct std::iterator_traits<nanobind::detail::fast_iterator> {
 namespace mlir {
 namespace python {
 
+/// Helper function to concatenate arguments into a `std::string`.
+template <typename... Ts>
+inline std::string join(const Ts &...args) {
----------------
kuhar wrote:

I we are putting this in a header, maybe we should put it in a nested namespace or rename to make the name less generic. Maybe we can put it in `namespace detail` or `util`? WDYT @makslevental 

https://github.com/llvm/llvm-project/pull/178984


More information about the Mlir-commits mailing list