[llvm-branch-commits] [llvm] [mlir] [mlir][ODS] Add partitions for attributes and types (PR #241935)
Alex Zinenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 18 02:50:39 PST 2026
================
@@ -255,6 +255,10 @@ template <typename... Ts> inline auto formatv(const char *Fmt, Ts &&...Vals) {
return formatv<Ts...>(true, Fmt, std::forward<Ts>(Vals)...);
}
+template <typename... Ts> inline auto formatv(StringLiteral Fmt, Ts &&...Vals) {
----------------
ftynse wrote:
Hmm, I'm surprised `formatv` doesn't take a `StringRef`. This PR is not the right place for it, but I'd poke at `formatv` to see if we can do that instead (and I suspect avoid `strlen` internally)
https://github.com/llvm/llvm-project/pull/241935
More information about the llvm-branch-commits
mailing list