[PATCH] D145300: [TableGen] add !toupper and !tolower operators to change the casing of strings.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 04:01:14 PST 2023


fpetrogalli accepted this revision.
fpetrogalli added a comment.
This revision is now accepted and ready to land.

LGTM, with a minor comments on the docs, to make somehow explicit that these new operators accept only string in input.

Thank you!

Francesco



================
Comment at: llvm/docs/TableGen/ProgRef.rst:1634
+``!tolower(``\ *a*\ ``)``
+  This operator converts a to lower case.
+
----------------



================
Comment at: llvm/docs/TableGen/ProgRef.rst:1637
+``!toupper(``\ *a*\ ``)``
+  This operator converts a to upper case.
+
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145300



More information about the llvm-commits mailing list