[PATCH] D156429: [TableGen] Add new bang operator !format

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 12:33:51 PDT 2023


tra added a comment.

Do we really need it at all?

Are there other use cases for it besides `!dump()` in D156420 <https://reviews.llvm.org/D156420> ?

Can we just implement some sort or `!repr(value)` to give us textual representation of the value and then just do `"some string" # !repr(some_value) # "some other string"` ? That would be sufficient for debugging purposes.


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