[PATCH] D156429: [TableGen] Add new bang operator !format
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 08:13:59 PDT 2023
michaelmaitland added inline comments.
================
Comment at: llvm/test/TableGen/format.td:23
+ string formatInterleave = !format("{0} {1} {0}", 0, 1);
+ string formatNoArg = !format("");
+ string formatLessArgs = !format("{0} {1}", 0);
----------------
What happens for something like:
`!format("{}")` or `format!("{1} {} {0} {}", 1, 2);`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156429/new/
https://reviews.llvm.org/D156429
More information about the llvm-commits
mailing list